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

Unified Diff: chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc

Issue 59793008: sync: don't allow NULL profile in ProfileSyncService and friends (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 7 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/sync/glue/frontend_data_type_controller_unittest.cc
diff --git a/chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc b/chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc
index aa9a3b2a6829911a48098d6cb19373643e1f0336..edd1c6d208bc45eaa01ffa5cca9da4ef7f7ca47d 100644
--- a/chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc
+++ b/chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc
@@ -85,7 +85,8 @@ class FrontendDataTypeControllerFake : public FrontendDataTypeController {
class SyncFrontendDataTypeControllerTest : public testing::Test {
public:
SyncFrontendDataTypeControllerTest()
- : ui_thread_(BrowserThread::UI, &message_loop_) {}
+ : ui_thread_(BrowserThread::UI, &message_loop_),
+ service_(&profile_) {}
virtual void SetUp() {
profile_sync_factory_.reset(new ProfileSyncComponentsFactoryMock());

Powered by Google App Engine
This is Rietveld 408576698