1 // Copyright 2020 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "components/page_info/android/page_info_client.h" 6 7 #include "content/public/browser/web_contents.h" 8 9 namespace page_info { 10 11 static PageInfoClient* g_client; 12 SetPageInfoClient(PageInfoClient * client)13void SetPageInfoClient(PageInfoClient* client) { 14 g_client = client; 15 } 16 GetPageInfoClient()17PageInfoClient* GetPageInfoClient() { 18 return g_client; 19 } 20 CreatePageInfoDelegate(content::WebContents * web_contents)21std::unique_ptr<PageInfoDelegate> PageInfoClient::CreatePageInfoDelegate( 22 content::WebContents* web_contents) { 23 return nullptr; 24 } 25 GetJavaResourceId(int native_resource_id)26int PageInfoClient::GetJavaResourceId(int native_resource_id) { 27 return -1; 28 } 29 30 } // namespace page_info 31