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

Unified Diff: chrome/browser/sync/glue/dummy_invalidator.cc

Issue 15780020: Setup Sync to use OAuth token for managed users. (Closed) Base URL: http://git.chromium.org/chromium/src.git@issue226464a
Patch Set: fix Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
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) {}

Powered by Google App Engine
This is Rietveld 408576698