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

Unified Diff: chrome/browser/profiles/profile_manager_unittest.cc

Issue 8102019: redesign and reimplement proxy config service and tracker, revise proxy ui on cros (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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: chrome/browser/profiles/profile_manager_unittest.cc
===================================================================
--- chrome/browser/profiles/profile_manager_unittest.cc (revision 108608)
+++ chrome/browser/profiles/profile_manager_unittest.cc (working copy)
@@ -78,6 +78,13 @@
MOCK_METHOD2(OnProfileCreated, void(Profile* profile, Status status));
};
+#if defined(OS_CHROMEOS)
+ // Do not change order of stub_cros_enabler_, which needs to be constructed
+ // before io_thread_ which requires CrosLibrary to be initialized to construct
+ // its data member pref_proxy_config_tracker_ on ChromeOS.
+ chromeos::ScopedStubCrosEnabler stub_cros_enabler_;
+#endif
+
// The path to temporary directory used to contain the test operations.
ScopedTempDir temp_dir_;
ScopedTestingLocalState local_state_;
@@ -92,10 +99,6 @@
scoped_ptr<base::SystemMonitor> system_monitor_dummy_;
-#if defined(OS_CHROMEOS)
- chromeos::ScopedStubCrosEnabler stub_cros_enabler_;
-#endif
-
// Also will test profile deletion.
scoped_ptr<ProfileManager> profile_manager_;
};

Powered by Google App Engine
This is Rietveld 408576698