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

Side by Side Diff: chrome/browser/extensions/api/gcm/gcm_api.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 CHROME_BROWSER_EXTENSIONS_API_GCM_GCM_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_GCM_GCM_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_GCM_GCM_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_GCM_GCM_API_H_
7 7
8 #include "chrome/common/extensions/api/gcm.h" 8 #include "chrome/common/extensions/api/gcm.h"
9 #include "components/gcm_driver/gcm_client.h" 9 #include "components/gcm_driver/gcm_client.h"
10 #include "extensions/browser/extension_function.h" 10 #include "extensions/browser/extension_function.h"
11 11
12 namespace gcm { 12 namespace gcm {
13 class GCMDriver; 13 class GCMDriver;
14 class GCMProfileService;
15 } // namespace gcm 14 } // namespace gcm
16 15
17 class Profile; 16 class Profile;
18 17
19 namespace extensions { 18 namespace extensions {
20 19
21 class GcmApiFunction : public AsyncExtensionFunction { 20 class GcmApiFunction : public AsyncExtensionFunction {
22 public: 21 public:
23 GcmApiFunction() {} 22 GcmApiFunction() {}
24 23
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 104
106 private: 105 private:
107 // The application we route the event to is running in context of the 106 // The application we route the event to is running in context of the
108 // |profile_| and the latter outlives the event router. 107 // |profile_| and the latter outlives the event router.
109 Profile* profile_; 108 Profile* profile_;
110 }; 109 };
111 110
112 } // namespace extensions 111 } // namespace extensions
113 112
114 #endif // CHROME_BROWSER_EXTENSIONS_API_GCM_GCM_API_H_ 113 #endif // CHROME_BROWSER_EXTENSIONS_API_GCM_GCM_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698