| Index: extensions/browser/guest_view/web_view/web_view_guest.h
|
| diff --git a/extensions/browser/guest_view/web_view/web_view_guest.h b/extensions/browser/guest_view/web_view/web_view_guest.h
|
| index 31ca93e13aed2a8b086f149c177a7b92b23dd002..884b153d2aeabead9756c772ccdcf99ed5eae095 100644
|
| --- a/extensions/browser/guest_view/web_view/web_view_guest.h
|
| +++ b/extensions/browser/guest_view/web_view/web_view_guest.h
|
| @@ -25,6 +25,7 @@ struct WebFindOptions;
|
|
|
| namespace extensions {
|
|
|
| +class RulesRegistryService;
|
| class WebViewInternalFindFunction;
|
|
|
| // A WebViewGuest provides the browser-side implementation of the <webview> API
|
| @@ -57,6 +58,16 @@ class WebViewGuest : public GuestView<WebViewGuest>,
|
|
|
| static const char Type[];
|
|
|
| + static void GenerateRulesRegistryID(
|
| + int embedder_process_id,
|
| + int webview_instance_id,
|
| + RulesRegistryService* rules_registry_service,
|
| + int* rules_registry_id);
|
| +
|
| + static int GetEmbedderProcessID(int process_id);
|
| +
|
| + static void RemoveRulesRegistryID(int rules_registry_id);
|
| +
|
| // Request navigating the guest to the provided |src| URL.
|
| void NavigateGuest(const std::string& src, bool force_navigation);
|
|
|
| @@ -236,6 +247,7 @@ class WebViewGuest : public GuestView<WebViewGuest>,
|
|
|
| private:
|
| friend class WebViewPermissionHelper;
|
| +
|
| WebViewGuest(content::BrowserContext* browser_context,
|
| int guest_instance_id);
|
|
|
|
|