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

Side by Side Diff: components/gcm_driver/gcm_profile_service.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_GCM_DRIVER_GCM_PROFILE_SERVICE_H_ 5 #ifndef COMPONENTS_GCM_DRIVER_GCM_PROFILE_SERVICE_H_
6 #define COMPONENTS_GCM_DRIVER_GCM_PROFILE_SERVICE_H_ 6 #define COMPONENTS_GCM_DRIVER_GCM_PROFILE_SERVICE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/callback_forward.h" 11 #include "base/callback_forward.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "components/keyed_service/core/keyed_service.h" 17 #include "components/keyed_service/core/keyed_service.h"
18 #include "components/signin/core/browser/profile_identity_provider.h" 18 #include "components/signin/core/browser/profile_identity_provider.h"
19 #include "components/version_info/version_info.h" 19 #include "components/version_info/version_info.h"
20 20
21 class PrefService; 21 class PrefService;
22 class ProfileOAuth2TokenService;
23 class SigninManagerBase;
24 22
25 namespace base { 23 namespace base {
26 class SequencedTaskRunner; 24 class SequencedTaskRunner;
27 } 25 }
28 26
29 namespace net { 27 namespace net {
30 class URLRequestContextGetter; 28 class URLRequestContextGetter;
31 } 29 }
32 30
33 namespace user_prefs {
34 class PrefRegistrySyncable;
35 }
36
37 namespace gcm { 31 namespace gcm {
38 32
39 class GCMClientFactory; 33 class GCMClientFactory;
40 class GCMDriver; 34 class GCMDriver;
41 35
42 #if defined(OS_CHROMEOS)
43 class GCMConnectionObserver;
44 #endif
45
46 // Providing GCM service, via GCMDriver. 36 // Providing GCM service, via GCMDriver.
47 class GCMProfileService : public KeyedService { 37 class GCMProfileService : public KeyedService {
48 public: 38 public:
49 #if defined(OS_ANDROID) 39 #if defined(OS_ANDROID)
50 GCMProfileService( 40 GCMProfileService(
51 base::FilePath path, 41 base::FilePath path,
52 scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner); 42 scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner);
53 #else 43 #else
54 GCMProfileService( 44 GCMProfileService(
55 PrefService* prefs, 45 PrefService* prefs,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 std::unique_ptr<IdentityObserver> identity_observer_; 82 std::unique_ptr<IdentityObserver> identity_observer_;
93 #endif 83 #endif
94 84
95 DISALLOW_COPY_AND_ASSIGN(GCMProfileService); 85 DISALLOW_COPY_AND_ASSIGN(GCMProfileService);
96 }; 86 };
97 87
98 } // namespace gcm 88 } // namespace gcm
99 89
100 #endif // COMPONENTS_GCM_DRIVER_GCM_PROFILE_SERVICE_H_ 90 #endif // COMPONENTS_GCM_DRIVER_GCM_PROFILE_SERVICE_H_
101 91
OLDNEW
« no previous file with comments | « components/gcm_driver/gcm_driver_desktop.h ('k') | components/google/core/browser/google_url_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698