Index: chrome/browser/sync/glue/dummy_invalidator.cc |
diff --git a/chrome/browser/sync/glue/dummy_invalidator.cc b/chrome/browser/sync/glue/dummy_invalidator.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d688228700bf1eeb8a9a4810b8da4a105ee4dc02 |
--- /dev/null |
+++ b/chrome/browser/sync/glue/dummy_invalidator.cc |
@@ -0,0 +1,30 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome/browser/sync/glue/dummy_invalidator.h" |
+ |
+DummyInvalidator::DummyInvalidator() {} |
+DummyInvalidator::~DummyInvalidator() {} |
+ |
+void DummyInvalidator::RegisterHandler(syncer::InvalidationHandler* handler) {} |
+ |
+void DummyInvalidator::UpdateRegisteredIds( |
+ syncer::InvalidationHandler* handler, |
+ const syncer::ObjectIdSet& ids) {} |
+ |
+void DummyInvalidator::UnregisterHandler( |
+ syncer::InvalidationHandler* handler) {} |
+ |
+void DummyInvalidator::Acknowledge(const invalidation::ObjectId& id, |
+ const syncer::AckHandle& ack_handle) {} |
+ |
+syncer::InvalidatorState DummyInvalidator::GetInvalidatorState() const { |
+ return syncer::TRANSIENT_INVALIDATION_ERROR; |
+} |
+ |
+void DummyInvalidator::UpdateCredentials( |
+ const std::string& email, const std::string& token) {} |
+ |
+void DummyInvalidator::SendInvalidation( |
+ const syncer::ObjectIdInvalidationMap& invalidation_map) {} |