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

Unified Diff: chrome/browser/sync/profile_sync_service_password_unittest.cc

Issue 9241029: sync: Pass ProfileSyncService to NonFrontendDataTypeController's ctor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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/sync/profile_sync_service_password_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_password_unittest.cc b/chrome/browser/sync/profile_sync_service_password_unittest.cc
index 8d3fea9451ed8eb249a351714e14aa0eb395a43a..ea0a581a23b7a455f7618b48b66fad2b29f7ce34 100644
--- a/chrome/browser/sync/profile_sync_service_password_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_password_unittest.cc
@@ -228,7 +228,8 @@ class ProfileSyncServicePasswordTest : public AbstractProfileSyncServiceTest {
Return(service_.get()));
PasswordDataTypeController* data_type_controller =
new PasswordDataTypeController(&factory_,
- &profile_);
+ &profile_,
+ service_.get());
EXPECT_CALL(factory_, CreatePasswordSyncComponents(_, _, _)).
Times(AtLeast(1)). // Can be more if we hit NEEDS_CRYPTO.

Powered by Google App Engine
This is Rietveld 408576698