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

Side by Side Diff: components/invalidation/fake_invalidator.cc

Issue 294123004: Move some sync/notifier to components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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 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 "sync/notifier/fake_invalidator.h" 5 #include "components/invalidation/fake_invalidator.h"
6 6
7 #include "sync/notifier/object_id_invalidation_map.h" 7 #include "sync/notifier/object_id_invalidation_map.h"
8 8
9 namespace syncer { 9 namespace syncer {
10 10
11 FakeInvalidator::FakeInvalidator() {} 11 FakeInvalidator::FakeInvalidator() {}
12 12
13 FakeInvalidator::~FakeInvalidator() {} 13 FakeInvalidator::~FakeInvalidator() {}
14 14
15 bool FakeInvalidator::IsHandlerRegistered(InvalidationHandler* handler) const { 15 bool FakeInvalidator::IsHandlerRegistered(InvalidationHandler* handler) const {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 email_ = email; 60 email_ = email;
61 token_ = token; 61 token_ = token;
62 } 62 }
63 63
64 void FakeInvalidator::RequestDetailedStatus( 64 void FakeInvalidator::RequestDetailedStatus(
65 base::Callback<void(const base::DictionaryValue&)> callback) const { 65 base::Callback<void(const base::DictionaryValue&)> callback) const {
66 base::DictionaryValue value; 66 base::DictionaryValue value;
67 callback.Run(value); 67 callback.Run(value);
68 } 68 }
69 } // namespace syncer 69 } // namespace syncer
OLDNEW
« no previous file with comments | « components/invalidation/fake_invalidator.h ('k') | components/invalidation/fake_invalidator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698