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

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

Issue 10696107: sync: Track validity of about:sync fields (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another rebase Created 8 years, 5 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 | « chrome/browser/sync/profile_sync_service_mock.h ('k') | chrome/browser/sync/sync_ui_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sync_global_error_unittest.cc
diff --git a/chrome/browser/sync/sync_global_error_unittest.cc b/chrome/browser/sync/sync_global_error_unittest.cc
index 783a5c4c8f9dbc7466a14e8252ea8e8672b34364..312a5a4bcc6e129590609b1ffaa5590c8a5bad73 100644
--- a/chrome/browser/sync/sync_global_error_unittest.cc
+++ b/chrome/browser/sync/sync_global_error_unittest.cc
@@ -145,8 +145,8 @@ TEST_F(SyncGlobalErrorTest, PassphraseGlobalError) {
SyncGlobalError error(&service, signin);
browser_sync::SyncBackendHost::Status status;
- EXPECT_CALL(service, QueryDetailedSyncStatus())
- .WillRepeatedly(Return(status));
+ EXPECT_CALL(service, QueryDetailedSyncStatus(_))
+ .WillRepeatedly(Return(false));
EXPECT_CALL(service, IsPassphraseRequired())
.WillRepeatedly(Return(true));
@@ -171,8 +171,8 @@ TEST_F(SyncGlobalErrorTest, AuthStateGlobalError) {
SyncGlobalError error(&service, signin);
browser_sync::SyncBackendHost::Status status;
- EXPECT_CALL(service, QueryDetailedSyncStatus())
- .WillRepeatedly(Return(status));
+ EXPECT_CALL(service, QueryDetailedSyncStatus(_))
+ .WillRepeatedly(Return(false));
struct {
GoogleServiceAuthError::State error_state;
« no previous file with comments | « chrome/browser/sync/profile_sync_service_mock.h ('k') | chrome/browser/sync/sync_ui_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698