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

Side by Side Diff: components/invalidation/impl/gcm_invalidation_bridge.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 #ifndef COMPONENTS_INVALIDATION_GCM_INVALIDATION_BRIDGE_H_ 5 #ifndef COMPONENTS_INVALIDATION_IMPL_GCM_INVALIDATION_BRIDGE_H_
6 #define COMPONENTS_INVALIDATION_GCM_INVALIDATION_BRIDGE_H_ 6 #define COMPONENTS_INVALIDATION_IMPL_GCM_INVALIDATION_BRIDGE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "base/threading/non_thread_safe.h" 11 #include "base/threading/non_thread_safe.h"
12 #include "components/gcm_driver/gcm_app_handler.h" 12 #include "components/gcm_driver/gcm_app_handler.h"
13 #include "components/gcm_driver/gcm_client.h" 13 #include "components/gcm_driver/gcm_client.h"
14 #include "components/gcm_driver/gcm_connection_observer.h" 14 #include "components/gcm_driver/gcm_connection_observer.h"
15 #include "components/invalidation/gcm_network_channel_delegate.h" 15 #include "components/invalidation/impl/gcm_network_channel_delegate.h"
16 #include "google_apis/gaia/oauth2_token_service.h" 16 #include "google_apis/gaia/oauth2_token_service.h"
17 17
18 class IdentityProvider; 18 class IdentityProvider;
19 19
20 namespace base { 20 namespace base {
21 class SingleThreadTaskRunner; 21 class SingleThreadTaskRunner;
22 } // namespace base 22 } // namespace base
23 23
24 namespace gcm { 24 namespace gcm {
25 class GCMDriver; 25 class GCMDriver;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 request_token_callback_; 103 request_token_callback_;
104 bool subscribed_for_incoming_messages_; 104 bool subscribed_for_incoming_messages_;
105 105
106 base::WeakPtrFactory<GCMInvalidationBridge> weak_factory_; 106 base::WeakPtrFactory<GCMInvalidationBridge> weak_factory_;
107 107
108 DISALLOW_COPY_AND_ASSIGN(GCMInvalidationBridge); 108 DISALLOW_COPY_AND_ASSIGN(GCMInvalidationBridge);
109 }; 109 };
110 110
111 } // namespace invalidation 111 } // namespace invalidation
112 112
113 #endif // COMPONENTS_INVALIDATION_GCM_INVALIDATION_BRIDGE_H_ 113 #endif // COMPONENTS_INVALIDATION_IMPL_GCM_INVALIDATION_BRIDGE_H_
OLDNEW
« no previous file with comments | « components/invalidation/impl/fake_invalidator_unittest.cc ('k') | components/invalidation/impl/gcm_invalidation_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698