OLD | NEW |
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_EXTENSIONS_API_MANAGEMENT_CHROME_MANAGEMENT_API_DELEGATE_
H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_CHROME_MANAGEMENT_API_DELEGATE_
H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_CHROME_MANAGEMENT_API_DELEGATE_
H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_CHROME_MANAGEMENT_API_DELEGATE_
H_ |
7 | 7 |
8 #include "base/task/cancelable_task_tracker.h" | 8 #include "base/task/cancelable_task_tracker.h" |
9 #include "chrome/browser/extensions/extension_install_prompt.h" | 9 #include "chrome/browser/extensions/extension_install_prompt.h" |
10 #include "chrome/browser/extensions/extension_uninstall_dialog.h" | 10 #include "chrome/browser/extensions/extension_uninstall_dialog.h" |
11 #include "extensions/browser/api/management/management_api_delegate.h" | 11 #include "extensions/browser/api/management/management_api_delegate.h" |
12 | 12 |
13 namespace favicon_base { | |
14 struct FaviconImageResult; | |
15 } // namespace favicon_base | |
16 | |
17 class ChromeManagementAPIDelegate : public extensions::ManagementAPIDelegate { | 13 class ChromeManagementAPIDelegate : public extensions::ManagementAPIDelegate { |
18 public: | 14 public: |
19 ChromeManagementAPIDelegate(); | 15 ChromeManagementAPIDelegate(); |
20 ~ChromeManagementAPIDelegate() override; | 16 ~ChromeManagementAPIDelegate() override; |
21 | 17 |
22 // ManagementAPIDelegate. | 18 // ManagementAPIDelegate. |
23 void LaunchAppFunctionDelegate( | 19 void LaunchAppFunctionDelegate( |
24 const extensions::Extension* extension, | 20 const extensions::Extension* extension, |
25 content::BrowserContext* context) const override; | 21 content::BrowserContext* context) const override; |
26 GURL GetFullLaunchURL(const extensions::Extension* extension) const override; | 22 GURL GetFullLaunchURL(const extensions::Extension* extension) const override; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 const std::string& extension_id, | 65 const std::string& extension_id, |
70 extensions::LaunchType launch_type) const override; | 66 extensions::LaunchType launch_type) const override; |
71 GURL GetIconURL(const extensions::Extension* extension, | 67 GURL GetIconURL(const extensions::Extension* extension, |
72 int icon_size, | 68 int icon_size, |
73 ExtensionIconSet::MatchType match, | 69 ExtensionIconSet::MatchType match, |
74 bool grayscale, | 70 bool grayscale, |
75 bool* exists) const override; | 71 bool* exists) const override; |
76 }; | 72 }; |
77 | 73 |
78 #endif // CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_CHROME_MANAGEMENT_API_DELEGA
TE_H_ | 74 #endif // CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_CHROME_MANAGEMENT_API_DELEGA
TE_H_ |
OLD | NEW |