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

Unified Diff: content/test/content_test_suite.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/test/content_test_suite.h
===================================================================
--- content/test/content_test_suite.h (revision 158860)
+++ content/test/content_test_suite.h (working copy)
@@ -6,9 +6,12 @@
#define CONTENT_TEST_CONTENT_TEST_SUITE_H_
#include "base/compiler_specific.h"
-#include "base/win/scoped_com_initializer.h"
#include "content/public/test/content_test_suite_base.h"
+#if defined(OS_WIN)
+#include "base/win/scoped_com_initializer.h"
+#endif
+
#if defined(USE_AURA)
namespace aura {
namespace test {
@@ -30,7 +33,9 @@
virtual ContentClient* CreateClientForInitialization() OVERRIDE;
private:
+#if defined(OS_WIN)
base::win::ScopedCOMInitializer com_initializer_;
+#endif
#if defined(USE_AURA)
scoped_ptr<aura::test::TestAuraInitializer> aura_initializer_;

Powered by Google App Engine
This is Rietveld 408576698