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

Unified Diff: ash/test/test_suite.h

Issue 15755016: Introduce a single call to grab default browser on Win8 for tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 7 years, 7 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 | « no previous file | ash/test/test_suite.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_suite.h
diff --git a/ash/test/test_suite.h b/ash/test/test_suite.h
index 2c13bb39120018256956b43d94f15cc3c7f7bdd9..b3864c5ba932f02f2e579a426e7e7ca878369c97 100644
--- a/ash/test/test_suite.h
+++ b/ash/test/test_suite.h
@@ -8,6 +8,10 @@
#include "base/compiler_specific.h"
#include "base/test/test_suite.h"
+#if defined(OS_WIN)
+#include "base/win/scoped_com_initializer.h"
+#endif
+
namespace ash {
namespace test {
@@ -19,6 +23,11 @@ class AuraShellTestSuite : public base::TestSuite {
// base::TestSuite:
virtual void Initialize() OVERRIDE;
virtual void Shutdown() OVERRIDE;
+
+ private:
+#if defined(OS_WIN)
+ base::win::ScopedCOMInitializer com_initializer;
grt (UTC plus 2) 2013/05/27 18:46:04 I think it's best to follow the pattern in base/th
gab 2013/05/27 20:22:10 Done.
+#endif
};
} // namespace test
« no previous file with comments | « no previous file | ash/test/test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698