Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1105)

Unified Diff: content/browser/browser_process_sub_thread.h

Issue 106223002: chrome power profiler chrome side changes (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/browser_process_sub_thread.h
diff --git a/content/browser/browser_process_sub_thread.h b/content/browser/browser_process_sub_thread.h
index e006388783b3028647b3cfc5887bbb0cf2bbcfd2..b5eeb14800ed6b0ab1f3e31b1107bc5958a818a5 100644
--- a/content/browser/browser_process_sub_thread.h
+++ b/content/browser/browser_process_sub_thread.h
@@ -19,6 +19,7 @@ class ScopedCOMInitializer;
namespace content {
class NotificationService;
+class PowerProfilerService;
}
namespace content {
@@ -45,6 +46,7 @@ class CONTENT_EXPORT BrowserProcessSubThread : public BrowserThreadImpl {
// These methods encapsulate cleanup that needs to happen on the IO thread
// before we call the embedder's CleanUp function.
void IOThreadPreCleanUp();
+ void PowerProfilerThreadPreCleanUp();
#if defined (OS_WIN)
scoped_ptr<base::win::ScopedCOMInitializer> com_initializer_;
@@ -53,6 +55,8 @@ class CONTENT_EXPORT BrowserProcessSubThread : public BrowserThreadImpl {
// Each specialized thread has its own notification service.
scoped_ptr<NotificationService> notification_service_;
+ // Power Profiler thread will has its own service.
+ scoped_ptr<PowerProfilerService> power_profiler_service_;
DISALLOW_COPY_AND_ASSIGN(BrowserProcessSubThread);
};

Powered by Google App Engine
This is Rietveld 408576698