Index: chrome/browser/sync/engine/net/server_connection_manager.cc |
=================================================================== |
--- chrome/browser/sync/engine/net/server_connection_manager.cc (revision 58702) |
+++ chrome/browser/sync/engine/net/server_connection_manager.cc (working copy) |
@@ -135,11 +135,9 @@ |
const string& server, |
int port, |
bool use_ssl, |
- const string& user_agent, |
- const string& client_id) |
+ const string& user_agent) |
: sync_server_(server), |
sync_server_port_(port), |
- client_id_(client_id), |
user_agent_(user_agent), |
use_ssl_(use_ssl), |
proto_sync_path_(kSyncServerSyncPath), |
@@ -163,7 +161,6 @@ |
channel_->NotifyListeners(event); |
} |
-// Uses currently set auth token. Set by AuthWatcher. |
bool ServerConnectionManager::PostBufferWithCachedAuth( |
const PostBufferParams* params, ScopedServerStatusWatcher* watcher) { |
string path = |
@@ -171,14 +168,6 @@ |
return PostBufferToPath(params, path, auth_token(), watcher); |
} |
-bool ServerConnectionManager::PostBufferWithAuth(const PostBufferParams* params, |
- const string& auth_token, ScopedServerStatusWatcher* watcher) { |
- string path = MakeSyncServerPath(proto_sync_path(), |
- MakeSyncQueryString(client_id_)); |
- |
- return PostBufferToPath(params, path, auth_token, watcher); |
-} |
- |
bool ServerConnectionManager::PostBufferToPath(const PostBufferParams* params, |
const string& path, const string& auth_token, |
ScopedServerStatusWatcher* watcher) { |