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

Side by Side Diff: extensions/browser/api/management/management_api_delegate.h

Issue 2535713004: extensions: Cleanup class/struct fwd declarations (Closed)
Patch Set: 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 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 EXTENSIONS_BROWSER_API_MANAGEMENT_MANAGEMENT_API_DELEGATER_H_ 5 #ifndef EXTENSIONS_BROWSER_API_MANAGEMENT_MANAGEMENT_API_DELEGATER_H_
6 #define EXTENSIONS_BROWSER_API_MANAGEMENT_MANAGEMENT_API_DELEGATER_H_ 6 #define EXTENSIONS_BROWSER_API_MANAGEMENT_MANAGEMENT_API_DELEGATER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "extensions/browser/uninstall_reason.h" 9 #include "extensions/browser/uninstall_reason.h"
10 #include "extensions/common/constants.h" 10 #include "extensions/common/constants.h"
11 #include "extensions/common/extension.h" 11 #include "extensions/common/extension.h"
12 #include "extensions/common/extension_icon_set.h" 12 #include "extensions/common/extension_icon_set.h"
13 #include "url/gurl.h" 13 #include "url/gurl.h"
14 14
15 namespace content { 15 namespace content {
16 class BrowserContext; 16 class BrowserContext;
17 class WebContents; 17 class WebContents;
18 } // namespace content 18 } // namespace content
19 19
20 namespace extensions { 20 namespace extensions {
21 21
22 class Extension; 22 class Extension;
23 class ExtensionPrefs; 23 class ExtensionPrefs;
24 class ManagementCreateAppShortcutFunction; 24 class ManagementCreateAppShortcutFunction;
25 class ManagementGenerateAppForLinkFunction; 25 class ManagementGenerateAppForLinkFunction;
26 class ManagementGetPermissionWarningsByManifestFunction; 26 class ManagementGetPermissionWarningsByManifestFunction;
27 class ManagementSetEnabledFunction;
28 class ManagementUninstallFunctionBase; 27 class ManagementUninstallFunctionBase;
29 class RequirementsChecker; 28 class RequirementsChecker;
30 29
31 // Manages the lifetime of the install prompt. 30 // Manages the lifetime of the install prompt.
32 class InstallPromptDelegate { 31 class InstallPromptDelegate {
33 public: 32 public:
34 virtual ~InstallPromptDelegate() {} 33 virtual ~InstallPromptDelegate() {}
35 }; 34 };
36 35
37 // Manages the lifetime of the uninstall prompt. 36 // Manages the lifetime of the uninstall prompt.
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 virtual GURL GetIconURL(const Extension* extension, 133 virtual GURL GetIconURL(const Extension* extension,
135 int icon_size, 134 int icon_size,
136 ExtensionIconSet::MatchType match, 135 ExtensionIconSet::MatchType match,
137 bool grayscale, 136 bool grayscale,
138 bool* exists) const = 0; 137 bool* exists) const = 0;
139 }; 138 };
140 139
141 } // namespace extensions 140 } // namespace extensions
142 141
143 #endif // EXTENSIONS_BROWSER_API_MANAGEMENT_MANAGEMENT_API_DELEGATER_H_ 142 #endif // EXTENSIONS_BROWSER_API_MANAGEMENT_MANAGEMENT_API_DELEGATER_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/hid/hid_api.h ('k') | extensions/browser/api/networking_private/networking_private_delegate_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698