Index: chrome/browser/devtools/devtools_window.h |
diff --git a/chrome/browser/devtools/devtools_window.h b/chrome/browser/devtools/devtools_window.h |
index b9c31049bfd040ea9f09a7b84e057f858b5c0020..a8b53a8dd95f8b06aaf24a902c982c49f4eb2fef 100644 |
--- a/chrome/browser/devtools/devtools_window.h |
+++ b/chrome/browser/devtools/devtools_window.h |
@@ -15,6 +15,7 @@ |
#include "chrome/browser/devtools/devtools_embedder_message_dispatcher.h" |
#include "chrome/browser/devtools/devtools_file_helper.h" |
#include "chrome/browser/devtools/devtools_file_system_indexer.h" |
+#include "chrome/browser/devtools/devtools_power_profiler_host.h" |
#include "chrome/browser/devtools/devtools_toggle_action.h" |
#include "content/public/browser/devtools_client_host.h" |
#include "content/public/browser/devtools_frontend_host_delegate.h" |
@@ -25,6 +26,7 @@ |
class Browser; |
class BrowserWindow; |
class DevToolsControllerTest; |
+class DevToolsPowerProfilerHost; |
class Profile; |
namespace base { |
@@ -299,6 +301,10 @@ class DevToolsWindow : private content::NotificationObserver, |
virtual void SearchInPath(int request_id, |
const std::string& file_system_path, |
const std::string& query) OVERRIDE; |
+ virtual void QueryPowerProfilerServiceStatus() OVERRIDE; |
+ virtual void StartPowerProfiling() OVERRIDE; |
+ virtual void StopPowerProfiling() OVERRIDE; |
+ virtual void SetPowerProfilingResolution(unsigned) OVERRIDE; |
// DevToolsFileHelper callbacks. |
void FileSavedAs(const std::string& url); |
@@ -319,6 +325,7 @@ class DevToolsWindow : private content::NotificationObserver, |
const std::vector<std::string>& file_paths); |
void ShowDevToolsConfirmInfoBar(const base::string16& message, |
const InfoBarCallback& callback); |
+ void SendPowerEvent(const std::string&); |
void CreateDevToolsBrowser(); |
BrowserWindow* GetInspectedBrowserWindow(); |
@@ -368,6 +375,8 @@ class DevToolsWindow : private content::NotificationObserver, |
scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_; |
base::WeakPtrFactory<DevToolsWindow> weak_factory_; |
+ scoped_refptr<DevToolsPowerProfilerHost> power_profiler_host_; |
+ friend class DevToolsPowerProfilerHost; |
DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); |
}; |