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

Unified Diff: content/renderer/render_thread_impl.h

Issue 10990079: Clean up scoped_com_initializer.h. Remove #ifdefs for non-Windows (this is in base/win, no one sho… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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/renderer/render_thread_impl.h
===================================================================
--- content/renderer/render_thread_impl.h (revision 158860)
+++ content/renderer/render_thread_impl.h (working copy)
@@ -48,9 +48,12 @@
namespace base {
class MessageLoopProxy;
class Thread;
+
+#if defined(OS_WIN)
namespace win {
class ScopedCOMInitializer;
}
+#endif
}
namespace IPC {
@@ -340,8 +343,10 @@
// Used on multiple script execution context threads.
scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_;
- // Initialize COM when using plugins outside the sandbox (Windows only).
+#if defined(OS_WIN)
+ // Initialize COM when using plugins outside the sandbox.
scoped_ptr<base::win::ScopedCOMInitializer> initialize_com_;
+#endif
// The count of RenderWidgets running through this thread.
int widget_count_;

Powered by Google App Engine
This is Rietveld 408576698