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

Unified Diff: content/browser/browser_process_sub_thread.h

Issue 11050009: Use ScopedCOMInitializer in more places. While this doesn't always simplify code, it does mean we … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
Index: content/browser/browser_process_sub_thread.h
===================================================================
--- content/browser/browser_process_sub_thread.h (revision 159813)
+++ content/browser/browser_process_sub_thread.h (working copy)
@@ -9,6 +9,14 @@
#include "content/browser/browser_thread_impl.h"
#include "content/common/content_export.h"
+#if defined(OS_WIN)
+namespace base {
+namespace win {
+class ScopedCOMInitializer;
+}
+}
+#endif
+
namespace content {
class NotificationService;
}
@@ -38,6 +46,10 @@
// before we call the embedder's CleanUp function.
void IOThreadPreCleanUp();
+#if defined (OS_WIN)
+ scoped_ptr<base::win::ScopedCOMInitializer> com_initializer_;
+#endif
+
// Each specialized thread has its own notification service.
scoped_ptr<NotificationService> notification_service_;

Powered by Google App Engine
This is Rietveld 408576698