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

Unified Diff: chrome/browser/dom_ui/sync_internals_ui_unittest.cc

Issue 6286131: Splits ChromeURLDataManager into 2 chunks:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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: chrome/browser/dom_ui/sync_internals_ui_unittest.cc
===================================================================
--- chrome/browser/dom_ui/sync_internals_ui_unittest.cc (revision 74204)
+++ chrome/browser/dom_ui/sync_internals_ui_unittest.cc (working copy)
@@ -110,15 +110,17 @@
return static_cast<TestSyncInternalsUI*>(test_sync_internals_ui_buf_);
}
+ protected:
+ // These need to be created before profile sync service.
+ // Needed by |ui_thread_|.
+ MessageLoopForUI ui_loop_;
+ // Needed by |test_tab_contents_|.
+ BrowserThread ui_thread_;
NiceMock<ProfileMock> profile_mock_;
StrictMock<ProfileSyncServiceMock> profile_sync_service_mock_;
StrictMock<browser_sync::MockJsFrontend> mock_js_backend_;
private:
- // Needed by |ui_thread_|.
- MessageLoopForUI ui_loop_;
- // Needed by |test_tab_contents_|.
- BrowserThread ui_thread_;
TestTabContents test_tab_contents_;
void* test_sync_internals_ui_buf_;
bool test_sync_internals_ui_constructor_called_;

Powered by Google App Engine
This is Rietveld 408576698