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

Unified Diff: content/browser/browser_process_sub_thread.h

Issue 8392042: Split BrowserThread into public API and private implementation, step 1. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 2 months 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
« no previous file with comments | « content/browser/browser_message_filter.h ('k') | content/browser/browser_process_sub_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 adbda9721196130e74b9a442abcb2c519c795950..ac3f856071aa6877ceaec5702eac9595b8301620 100644
--- a/content/browser/browser_process_sub_thread.h
+++ b/content/browser/browser_process_sub_thread.h
@@ -7,13 +7,15 @@
#pragma once
#include "base/basictypes.h"
-#include "content/browser/browser_thread.h"
+#include "content/browser/browser_thread_impl.h"
#include "content/common/content_export.h"
namespace content {
class NotificationService;
}
+namespace content {
+
// ----------------------------------------------------------------------------
// BrowserProcessSubThread
//
@@ -23,7 +25,7 @@ class NotificationService;
// Applications must initialize the COM library before they can call
// COM library functions other than CoGetMalloc and memory allocation
// functions, so this class initializes COM for those users.
-class CONTENT_EXPORT BrowserProcessSubThread : public BrowserThread {
+class CONTENT_EXPORT BrowserProcessSubThread : public BrowserThreadImpl {
public:
explicit BrowserProcessSubThread(BrowserThread::ID identifier);
virtual ~BrowserProcessSubThread();
@@ -36,9 +38,11 @@ class CONTENT_EXPORT BrowserProcessSubThread : public BrowserThread {
// Each specialized thread has its own notification service.
// Note: We don't use scoped_ptr because the destructor runs on the wrong
// thread.
- content::NotificationService* notification_service_;
+ NotificationService* notification_service_;
DISALLOW_COPY_AND_ASSIGN(BrowserProcessSubThread);
};
+} // namespace content
+
#endif // CONTENT_BROWSER_BROWSER_PROCESS_SUB_THREAD_H_
« no previous file with comments | « content/browser/browser_message_filter.h ('k') | content/browser/browser_process_sub_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698