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

Side by Side Diff: chrome/browser/sync/glue/android_invalidator_bridge_proxy.cc

Issue 12092091: Separate sync and invalidation client IDs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/sync/glue/android_invalidator_bridge_proxy.h" 5 #include "chrome/browser/sync/glue/android_invalidator_bridge_proxy.h"
6 6
7 #include "chrome/browser/sync/glue/android_invalidator_bridge.h" 7 #include "chrome/browser/sync/glue/android_invalidator_bridge.h"
8 8
9 using std::string; 9 using std::string;
10 using syncer::InvalidatorState; 10 using syncer::InvalidatorState;
(...skipping 22 matching lines...) Expand all
33 33
34 InvalidatorState AndroidInvalidatorBridgeProxy::GetInvalidatorState() const { 34 InvalidatorState AndroidInvalidatorBridgeProxy::GetInvalidatorState() const {
35 return bridge_->GetInvalidatorState(); 35 return bridge_->GetInvalidatorState();
36 } 36 }
37 37
38 void AndroidInvalidatorBridgeProxy::UnregisterHandler( 38 void AndroidInvalidatorBridgeProxy::UnregisterHandler(
39 syncer::InvalidationHandler* handler) { 39 syncer::InvalidationHandler* handler) {
40 bridge_->UnregisterHandler(handler); 40 bridge_->UnregisterHandler(handler);
41 } 41 }
42 42
43 void AndroidInvalidatorBridgeProxy::SetUniqueId(const string& unique_id) {
44 bridge_->SetUniqueId(unique_id);
45 }
46
47 void AndroidInvalidatorBridgeProxy::UpdateCredentials( 43 void AndroidInvalidatorBridgeProxy::UpdateCredentials(
48 const string& email, const string& token) { 44 const string& email, const string& token) {
49 bridge_->UpdateCredentials(email, token); 45 bridge_->UpdateCredentials(email, token);
50 } 46 }
51 47
52 void AndroidInvalidatorBridgeProxy::SendInvalidation( 48 void AndroidInvalidatorBridgeProxy::SendInvalidation(
53 const syncer::ObjectIdInvalidationMap& invalidation_map) { 49 const syncer::ObjectIdInvalidationMap& invalidation_map) {
54 bridge_->SendInvalidation(invalidation_map); 50 bridge_->SendInvalidation(invalidation_map);
55 } 51 }
56 52
57 } // namespace browser_sync 53 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/android_invalidator_bridge_proxy.h ('k') | chrome/browser/sync/glue/sync_backend_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698