| Index: content/shell/browser/shell_devtools_frontend.h
|
| diff --git a/content/shell/browser/shell_devtools_frontend.h b/content/shell/browser/shell_devtools_frontend.h
|
| index d6ce91b2ac812744aaf1fbc95f5cacbe4534eb41..15a236e532d1fb411f00c0c21c7a55110d359c2b 100644
|
| --- a/content/shell/browser/shell_devtools_frontend.h
|
| +++ b/content/shell/browser/shell_devtools_frontend.h
|
| @@ -10,6 +10,7 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/memory/weak_ptr.h"
|
| +#include "base/values.h"
|
| #include "content/public/browser/devtools_agent_host.h"
|
| #include "content/public/browser/devtools_frontend_host.h"
|
| #include "content/public/browser/web_contents_observer.h"
|
| @@ -54,6 +55,7 @@ class ShellDevToolsFrontend : public WebContentsObserver,
|
| void AgentHostClosed(DevToolsAgentHost* agent_host, bool replaced) override;
|
| void DispatchProtocolMessage(DevToolsAgentHost* agent_host,
|
| const std::string& message) override;
|
| + base::DictionaryValue* preferences() { return &preferences_; }
|
|
|
| private:
|
| // WebContentsObserver overrides
|
| @@ -78,6 +80,7 @@ class ShellDevToolsFrontend : public WebContentsObserver,
|
| scoped_ptr<DevToolsFrontendHost> frontend_host_;
|
| using PendingRequestsMap = std::map<const net::URLFetcher*, int>;
|
| PendingRequestsMap pending_requests_;
|
| + base::DictionaryValue preferences_;
|
| base::WeakPtrFactory<ShellDevToolsFrontend> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ShellDevToolsFrontend);
|
|
|