Index: content/browser/devtools/devtools_frontend_host.h |
diff --git a/content/browser/devtools/devtools_frontend_host.h b/content/browser/devtools/devtools_frontend_host.h |
index 469d162bf9c3e217a51b1fc2cff49437289b4cee..58cd300fe50866248b9380d8b8362d030e137fd6 100644 |
--- a/content/browser/devtools/devtools_frontend_host.h |
+++ b/content/browser/devtools/devtools_frontend_host.h |
@@ -9,6 +9,8 @@ |
#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
+#include "base/memory/weak_ptr.h" |
+#include "content/browser/power_profiler/devtools_power_profiler_host.h" |
#include "content/public/browser/devtools_client_host.h" |
#include "content/public/browser/web_contents_observer.h" |
@@ -42,7 +44,16 @@ class DevToolsFrontendHost : public DevToolsClientHost, |
void OnDispatchOnInspectorBackend(const std::string& message); |
void OnDispatchOnEmbedder(const std::string& message); |
+ void OnPowerProfileStatus(); |
pfeldman
2014/01/09 11:38:58
This should be a part of devtools_agent_host.h
|
+ void OnStartProfile(); |
+ void OnStopProfile(); |
+ void OnSetResolution(unsigned resolution); |
+ |
DevToolsFrontendHostDelegate* delegate_; |
+ // to access DispatchOnInspectorFrontend |
+ friend class DevToolsPowerProfilerHost; |
+ base::WeakPtrFactory<DevToolsFrontendHost> weak_factory_; |
+ scoped_refptr<DevToolsPowerProfilerHost> power_profiler_host_; |
DISALLOW_COPY_AND_ASSIGN(DevToolsFrontendHost); |
}; |