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

Unified Diff: components/sync/test/engine/mock_connection_manager.h

Issue 2494873003: [Sync] Allow sync start without sign-in if the local sync backend is on. (Closed)
Patch Set: Rebased on ToT. Created 4 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: components/sync/test/engine/mock_connection_manager.h
diff --git a/components/sync/test/engine/mock_connection_manager.h b/components/sync/test/engine/mock_connection_manager.h
index 8f98c69a94425f01912957c6e0a481e718aa8f52..6e24f2d3f85e4f657c2355e2db3e182e2978e32c 100644
--- a/components/sync/test/engine/mock_connection_manager.h
+++ b/components/sync/test/engine/mock_connection_manager.h
@@ -268,6 +268,8 @@ class MockConnectionManager : public ServerConnectionManager {
// Adds a new progress marker to the last update.
sync_pb::DataTypeProgressMarker* AddUpdateProgressMarker();
+ void ResetAuthToken() { auth_token_.clear(); }
+
private:
sync_pb::SyncEntity* AddUpdateFull(syncable::Id id,
syncable::Id parentid,

Powered by Google App Engine
This is Rietveld 408576698