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

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

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 #ifndef SYNC_NOTIFIER_FAKE_INVALIDATOR_H_ 5 #ifndef COMPONENTS_INVALIDATION_FAKE_INVALIDATOR_H_
6 #define SYNC_NOTIFIER_FAKE_INVALIDATOR_H_ 6 #define COMPONENTS_INVALIDATION_FAKE_INVALIDATOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "components/invalidation/invalidator_registrar.h"
12 #include "sync/notifier/invalidation_util.h" 13 #include "sync/notifier/invalidation_util.h"
13 #include "sync/notifier/invalidator.h" 14 #include "sync/notifier/invalidator.h"
14 #include "sync/notifier/invalidator_registrar.h"
15 15
16 namespace syncer { 16 namespace syncer {
17 17
18 class FakeInvalidator : public Invalidator { 18 class FakeInvalidator : public Invalidator {
19 public: 19 public:
20 FakeInvalidator(); 20 FakeInvalidator();
21 virtual ~FakeInvalidator(); 21 virtual ~FakeInvalidator();
22 22
23 bool IsHandlerRegistered(InvalidationHandler* handler) const; 23 bool IsHandlerRegistered(InvalidationHandler* handler) const;
24 ObjectIdSet GetRegisteredIds(InvalidationHandler* handler) const; 24 ObjectIdSet GetRegisteredIds(InvalidationHandler* handler) const;
(...skipping 18 matching lines...) Expand all
43 43
44 private: 44 private:
45 InvalidatorRegistrar registrar_; 45 InvalidatorRegistrar registrar_;
46 std::string state_; 46 std::string state_;
47 std::string email_; 47 std::string email_;
48 std::string token_; 48 std::string token_;
49 }; 49 };
50 50
51 } // namespace syncer 51 } // namespace syncer
52 52
53 #endif // SYNC_NOTIFIER_FAKE_INVALIDATOR_H_ 53 #endif // COMPONENTS_INVALIDATION_FAKE_INVALIDATOR_H_
OLDNEW
« no previous file with comments | « components/invalidation/fake_invalidation_state_tracker.cc ('k') | components/invalidation/fake_invalidator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698