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

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

Issue 1505953002: [Sync] Remove ScopedServerStatusWatcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change format of deprecated names. Created 5 years 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 | « sync/protocol/sync_enums.proto ('k') | sync/test/engine/mock_connection_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/engine/mock_connection_manager.h
diff --git a/sync/test/engine/mock_connection_manager.h b/sync/test/engine/mock_connection_manager.h
index 8bcc5c2d9c5a12ec32833150d0d71e09ef138bb5..6595fa0e0f479414e4252333500d43c15d3af2a1 100644
--- a/sync/test/engine/mock_connection_manager.h
+++ b/sync/test/engine/mock_connection_manager.h
@@ -40,8 +40,7 @@ class MockConnectionManager : public ServerConnectionManager {
// Overridden ServerConnectionManager functions.
bool PostBufferToPath(PostBufferParams*,
const std::string& path,
- const std::string& auth_token,
- ScopedServerStatusWatcher* watcher) override;
+ const std::string& auth_token) override;
// Control of commit response.
// NOTE: Commit callback is invoked only once then reset.
@@ -390,11 +389,6 @@ class MockConnectionManager : public ServerConnectionManager {
// Protected by |response_code_override_lock_|.
bool partialThrottling_;
- // Whether we are failing all requests by returning
- // ClientToServerResponse::AUTH_INVALID.
- // Protected by |response_code_override_lock_|.
- bool fail_with_auth_invalid_;
-
base::Lock response_code_override_lock_;
// True if we are only accepting GetUpdatesCallerInfo::PERIODIC requests.
« no previous file with comments | « sync/protocol/sync_enums.proto ('k') | sync/test/engine/mock_connection_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698