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

Unified Diff: sync/sessions/test_util.h

Issue 19982002: sync: Remove SyncSourceInfo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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
Index: sync/sessions/test_util.h
diff --git a/sync/sessions/test_util.h b/sync/sessions/test_util.h
index 56c13c70d652a8645ff0c949e5005d7e48a20bcf..c670128c6d095c9d2264802ba404f7321bddb4a6 100644
--- a/sync/sessions/test_util.h
+++ b/sync/sessions/test_util.h
@@ -16,14 +16,22 @@ namespace sessions {
namespace test_util {
// Configure sync cycle successes and failures.
-void SimulateGetEncryptionKeyFailed(ModelTypeSet requested_types,
- sessions::SyncSession* session);
-void SimulateConfigureSuccess(ModelTypeSet requested_types,
- sessions::SyncSession* session);
-void SimulateConfigureFailed(ModelTypeSet requested_types,
- sessions::SyncSession* session);
-void SimulateConfigureConnectionFailure(ModelTypeSet requested_types,
- sessions::SyncSession* session);
+void SimulateGetEncryptionKeyFailed(
+ ModelTypeSet requested_types,
+ sync_pb::GetUpdatesCallerInfo::GetUpdatesSource source,
+ sessions::SyncSession* session);
+void SimulateConfigureSuccess(
+ ModelTypeSet requested_types,
+ sync_pb::GetUpdatesCallerInfo::GetUpdatesSource source,
+ sessions::SyncSession* session);
+void SimulateConfigureFailed(
+ ModelTypeSet requested_types,
+ sync_pb::GetUpdatesCallerInfo::GetUpdatesSource source,
+ sessions::SyncSession* session);
+void SimulateConfigureConnectionFailure(
+ ModelTypeSet requested_types,
+ sync_pb::GetUpdatesCallerInfo::GetUpdatesSource source,
+ sessions::SyncSession* session);
// Normal mode sync cycle successes and failures.
void SimulateNormalSuccess(ModelTypeSet requested_types,

Powered by Google App Engine
This is Rietveld 408576698