OLD | NEW |
| (Empty) |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/browser/sync/glue/dummy_invalidator.h" | |
6 | |
7 DummyInvalidator::DummyInvalidator() {} | |
8 DummyInvalidator::~DummyInvalidator() {} | |
9 | |
10 void DummyInvalidator::RegisterHandler(syncer::InvalidationHandler* handler) {} | |
11 | |
12 void DummyInvalidator::UpdateRegisteredIds( | |
13 syncer::InvalidationHandler* handler, | |
14 const syncer::ObjectIdSet& ids) {} | |
15 | |
16 void DummyInvalidator::UnregisterHandler( | |
17 syncer::InvalidationHandler* handler) {} | |
18 | |
19 void DummyInvalidator::Acknowledge(const invalidation::ObjectId& id, | |
20 const syncer::AckHandle& ack_handle) {} | |
21 | |
22 syncer::InvalidatorState DummyInvalidator::GetInvalidatorState() const { | |
23 return syncer::TRANSIENT_INVALIDATION_ERROR; | |
24 } | |
25 | |
26 void DummyInvalidator::UpdateCredentials( | |
27 const std::string& email, const std::string& token) {} | |
28 | |
29 void DummyInvalidator::SendInvalidation( | |
30 const syncer::ObjectIdInvalidationMap& invalidation_map) {} | |
OLD | NEW |