| OLD | NEW |
| 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/bridged_invalidator.h" | 5 #include "chrome/browser/sync/glue/bridged_invalidator.h" |
| 6 | 6 |
| 7 #include "chrome/browser/sync/glue/chrome_sync_notification_bridge.h" | 7 #include "chrome/browser/sync/glue/chrome_sync_notification_bridge.h" |
| 8 | 8 |
| 9 namespace browser_sync { | 9 namespace browser_sync { |
| 10 | 10 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 delegate_->SetStateDeprecated(state); | 60 delegate_->SetStateDeprecated(state); |
| 61 } | 61 } |
| 62 | 62 |
| 63 void BridgedInvalidator::UpdateCredentials( | 63 void BridgedInvalidator::UpdateCredentials( |
| 64 const std::string& email, const std::string& token) { | 64 const std::string& email, const std::string& token) { |
| 65 if (delegate_.get()) | 65 if (delegate_.get()) |
| 66 delegate_->UpdateCredentials(email, token); | 66 delegate_->UpdateCredentials(email, token); |
| 67 } | 67 } |
| 68 | 68 |
| 69 void BridgedInvalidator::SendInvalidation( | 69 void BridgedInvalidator::SendInvalidation( |
| 70 const syncer::ObjectIdStateMap& id_state_map) { | 70 const syncer::ObjectIdInvalidationMap& invalidation_map) { |
| 71 if (delegate_.get()) | 71 if (delegate_.get()) |
| 72 delegate_->SendInvalidation(id_state_map); | 72 delegate_->SendInvalidation(invalidation_map); |
| 73 } | 73 } |
| 74 | 74 |
| 75 } // namespace browser_sync | 75 } // namespace browser_sync |
| OLD | NEW |