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

Side by Side Diff: trunk/src/chrome/browser/invalidation/gcm_invalidation_bridge.h

Issue 281783004: Revert 270226 "Componentize GCM Part 1: create GCM component and..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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 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 CHROME_BROWSER_INVALIDATION_GCM_INVALIDATION_BRIDGE_H_ 5 #ifndef CHROME_BROWSER_INVALIDATION_GCM_INVALIDATION_BRIDGE_H_
6 #define CHROME_BROWSER_INVALIDATION_GCM_INVALIDATION_BRIDGE_H_ 6 #define CHROME_BROWSER_INVALIDATION_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 "chrome/browser/services/gcm/gcm_app_handler.h"
13 #include "google_apis/gaia/oauth2_token_service.h" 13 #include "google_apis/gaia/oauth2_token_service.h"
14 #include "google_apis/gcm/gcm_client.h" 14 #include "google_apis/gcm/gcm_client.h"
15 #include "sync/notifier/gcm_network_channel_delegate.h" 15 #include "sync/notifier/gcm_network_channel_delegate.h"
16 16
17 class IdentityProvider; 17 class IdentityProvider;
18 18
19 namespace base { 19 namespace base {
20 class SingleThreadTaskRunner; 20 class SingleThreadTaskRunner;
21 } // namespace base 21 } // namespace base
22 22
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 bool subscribed_for_incoming_messages_; 93 bool subscribed_for_incoming_messages_;
94 94
95 base::WeakPtrFactory<GCMInvalidationBridge> weak_factory_; 95 base::WeakPtrFactory<GCMInvalidationBridge> weak_factory_;
96 96
97 DISALLOW_COPY_AND_ASSIGN(GCMInvalidationBridge); 97 DISALLOW_COPY_AND_ASSIGN(GCMInvalidationBridge);
98 }; 98 };
99 99
100 } // namespace invalidation 100 } // namespace invalidation
101 101
102 #endif // CHROME_BROWSER_INVALIDATION_GCM_INVALIDATION_BRIDGE_H_ 102 #endif // CHROME_BROWSER_INVALIDATION_GCM_INVALIDATION_BRIDGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698