Chromium Code Reviews| Index: extensions/renderer/dispatcher.h |
| diff --git a/extensions/renderer/dispatcher.h b/extensions/renderer/dispatcher.h |
| index 428efd794a5d1afe9641ad81f7a59b3baa53ac28..71fa8d19e034c406e1b9bee26cfc5f4de397e371 100644 |
| --- a/extensions/renderer/dispatcher.h |
| +++ b/extensions/renderer/dispatcher.h |
| @@ -83,6 +83,8 @@ class Dispatcher : public content::RenderProcessObserver, |
| RequestSender* request_sender() { return request_sender_.get(); } |
| + std::string webview_partition_id() { return webview_partition_id_; } |
|
not at google - send to devlin
2015/09/03 20:17:54
return a const std::string&
paulmeyer
2015/09/08 18:51:36
Done.
|
| + |
| void OnRenderFrameCreated(content::RenderFrame* render_frame); |
| bool IsExtensionActive(const std::string& extension_id) const; |
| @@ -171,6 +173,7 @@ class Dispatcher : public content::RenderProcessObserver, |
| const ExtensionsClient::ScriptingWhitelist& extension_ids); |
| void OnSetSystemFont(const std::string& font_family, |
| const std::string& font_size); |
| + void OnSetWebViewPartitionID(const std::string& partition_id); |
| void OnShouldSuspend(const std::string& extension_id, uint64 sequence_id); |
| void OnSuspend(const std::string& extension_id); |
| void OnTransferBlobs(const std::vector<std::string>& blob_uuids); |
| @@ -305,6 +308,11 @@ class Dispatcher : public content::RenderProcessObserver, |
| // Status of webrequest usage. |
| bool webrequest_used_; |
| + // The WebView partition ID associated with this process's storage partition, |
| + // if this renderer is a WebView guest render process. Otherwise, this will be |
| + // empty. |
| + std::string webview_partition_id_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(Dispatcher); |
| }; |