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

Side by Side Diff: components/invalidation/impl/p2p_invalidation_service.h

Issue 1191393008: Introduce a layering in the invalidation component as public and impl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Explicitly forbid content to prevent future additions Created 5 years, 5 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/callback_forward.h" 5 #include "base/callback_forward.h"
6 #include "base/memory/ref_counted.h" 6 #include "base/memory/ref_counted.h"
7 #include "base/threading/non_thread_safe.h" 7 #include "base/threading/non_thread_safe.h"
8 #include "components/invalidation/invalidation_service.h" 8 #include "components/invalidation/impl/p2p_invalidator.h"
9 #include "components/invalidation/p2p_invalidator.h" 9 #include "components/invalidation/public/invalidation_service.h"
10 #include "components/keyed_service/core/keyed_service.h" 10 #include "components/keyed_service/core/keyed_service.h"
11 11
12 #ifndef COMPONENTS_INVALIDATION_P2P_INVALIDATION_SERVICE_H_ 12 #ifndef COMPONENTS_INVALIDATION_IMPL_P2P_INVALIDATION_SERVICE_H_
13 #define COMPONENTS_INVALIDATION_P2P_INVALIDATION_SERVICE_H_ 13 #define COMPONENTS_INVALIDATION_IMPL_P2P_INVALIDATION_SERVICE_H_
14 14
15 namespace net { 15 namespace net {
16 class URLRequestContextGetter; 16 class URLRequestContextGetter;
17 } 17 }
18 18
19 namespace syncer { 19 namespace syncer {
20 class P2PInvalidator; 20 class P2PInvalidator;
21 } 21 }
22 22
23 namespace invalidation { 23 namespace invalidation {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 private: 59 private:
60 scoped_ptr<IdentityProvider> identity_provider_; 60 scoped_ptr<IdentityProvider> identity_provider_;
61 scoped_ptr<syncer::P2PInvalidator> invalidator_; 61 scoped_ptr<syncer::P2PInvalidator> invalidator_;
62 std::string invalidator_id_; 62 std::string invalidator_id_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(P2PInvalidationService); 64 DISALLOW_COPY_AND_ASSIGN(P2PInvalidationService);
65 }; 65 };
66 66
67 } // namespace invalidation 67 } // namespace invalidation
68 68
69 #endif // COMPONENTS_INVALIDATION_P2P_INVALIDATION_SERVICE_H_ 69 #endif // COMPONENTS_INVALIDATION_IMPL_P2P_INVALIDATION_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698