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

Side by Side Diff: chrome/browser/extensions/api/instance_id/instance_id_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_INSTANCE_ID_INSTANCE_ID_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_INSTANCE_ID_INSTANCE_ID_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_INSTANCE_ID_INSTANCE_ID_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_INSTANCE_ID_INSTANCE_ID_API_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/gcm_driver/instance_id/instance_id.h" 9 #include "components/gcm_driver/instance_id/instance_id.h"
10 #include "extensions/browser/extension_function.h" 10 #include "extensions/browser/extension_function.h"
11 11
12 class Profile;
13
14 namespace extensions { 12 namespace extensions {
15 13
16 class InstanceIDApiFunction : public UIThreadExtensionFunction { 14 class InstanceIDApiFunction : public UIThreadExtensionFunction {
17 public: 15 public:
18 InstanceIDApiFunction(); 16 InstanceIDApiFunction();
19 17
20 protected: 18 protected:
21 ~InstanceIDApiFunction() override; 19 ~InstanceIDApiFunction() override;
22 20
23 // ExtensionFunction: 21 // ExtensionFunction:
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 121
124 private: 122 private:
125 void DeleteIDCompleted(instance_id::InstanceID::Result result); 123 void DeleteIDCompleted(instance_id::InstanceID::Result result);
126 124
127 DISALLOW_COPY_AND_ASSIGN(InstanceIDDeleteIDFunction); 125 DISALLOW_COPY_AND_ASSIGN(InstanceIDDeleteIDFunction);
128 }; 126 };
129 127
130 } // namespace extensions 128 } // namespace extensions
131 129
132 #endif // CHROME_BROWSER_EXTENSIONS_API_INSTANCE_ID_INSTANCE_ID_API_H_ 130 #endif // CHROME_BROWSER_EXTENSIONS_API_INSTANCE_ID_INSTANCE_ID_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698