Chromium Code Reviews| 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 9605ad26df449fff635779928dbc221c2f5f664a..d44b5df4bd5aafe68d500756d59191f55470113c 100644 |
| --- a/extensions/browser/guest_view/web_view/web_view_guest.h |
| +++ b/extensions/browser/guest_view/web_view/web_view_guest.h |
| @@ -19,6 +19,8 @@ |
| #include "extensions/browser/guest_view/web_view/web_view_permission_types.h" |
| #include "extensions/browser/script_executor.h" |
| +struct ExtensionMsg_Loaded_Params; |
|
not at google - send to devlin
2015/08/31 18:31:44
Not used?
paulmeyer
2015/08/31 21:40:08
Done.
|
| + |
| namespace blink { |
| struct WebFindOptions; |
| } // nanespace blink |
| @@ -60,6 +62,12 @@ class WebViewGuest : public guest_view::GuestView<WebViewGuest>, |
| std::string* partition_name, |
| bool* in_memory); |
| + // Returns the webview partition ID associated with the render process |
| + // represented by |render_process_host|, if any. Otherwise, nullptr is |
|
not at google - send to devlin
2015/08/31 18:31:44
This doesn't return a nullptr, it returns an empty
paulmeyer
2015/08/31 21:40:08
Done.
|
| + // returned. |
| + static std::string GetPartitionID( |
| + const content::RenderProcessHost* render_process_host); |
| + |
| static const char Type[]; |
| // Returns the stored rules registry ID of the given webview. Will generate |