| Index: extensions/renderer/dispatcher.h
|
| diff --git a/extensions/renderer/dispatcher.h b/extensions/renderer/dispatcher.h
|
| index 428efd794a5d1afe9641ad81f7a59b3baa53ac28..af1d5461aa71f4d21a061fe811a994505a565452 100644
|
| --- a/extensions/renderer/dispatcher.h
|
| +++ b/extensions/renderer/dispatcher.h
|
| @@ -136,6 +136,10 @@ class Dispatcher : public content::RenderProcessObserver,
|
|
|
| bool WasWebRequestUsedBySomeExtensions() const { return webrequest_used_; }
|
|
|
| + // Returns the webview partition ID associated with this renderer if it is a
|
| + // WebView guest render process. Otherwise, an empty string is returned.
|
| + static std::string GetWebViewPartitionID();
|
| +
|
| private:
|
| // The RendererPermissionsPolicyDelegateTest.CannotScriptWebstore test needs
|
| // to call the OnActivateExtension IPCs.
|
| @@ -171,6 +175,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);
|
|
|