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" |
(...skipping 26 matching lines...) Expand all Loading... |
37 extensions::ManagementUninstallFunctionBase* function, | 37 extensions::ManagementUninstallFunctionBase* function, |
38 const std::string& target_extension_id) const override; | 38 const std::string& target_extension_id) const override; |
39 bool CreateAppShortcutFunctionDelegate( | 39 bool CreateAppShortcutFunctionDelegate( |
40 extensions::ManagementCreateAppShortcutFunction* function, | 40 extensions::ManagementCreateAppShortcutFunction* function, |
41 const extensions::Extension* extension) const override; | 41 const extensions::Extension* extension) const override; |
42 scoped_ptr<extensions::AppForLinkDelegate> GenerateAppForLinkFunctionDelegate( | 42 scoped_ptr<extensions::AppForLinkDelegate> GenerateAppForLinkFunctionDelegate( |
43 extensions::ManagementGenerateAppForLinkFunction* function, | 43 extensions::ManagementGenerateAppForLinkFunction* function, |
44 content::BrowserContext* context, | 44 content::BrowserContext* context, |
45 const std::string& title, | 45 const std::string& title, |
46 const GURL& launch_url) const override; | 46 const GURL& launch_url) const override; |
47 bool IsStreamlinedHostedAppsEnabled() const override; | 47 bool IsNewBookmarkAppsEnabled() const override; |
48 void EnableExtension(content::BrowserContext* context, | 48 void EnableExtension(content::BrowserContext* context, |
49 const std::string& extension_id) const override; | 49 const std::string& extension_id) const override; |
50 void DisableExtension( | 50 void DisableExtension( |
51 content::BrowserContext* context, | 51 content::BrowserContext* context, |
52 const std::string& extension_id, | 52 const std::string& extension_id, |
53 extensions::Extension::DisableReason disable_reason) const override; | 53 extensions::Extension::DisableReason disable_reason) const override; |
54 bool UninstallExtension(content::BrowserContext* context, | 54 bool UninstallExtension(content::BrowserContext* context, |
55 const std::string& transient_extension_id, | 55 const std::string& transient_extension_id, |
56 extensions::UninstallReason reason, | 56 extensions::UninstallReason reason, |
57 const base::Closure& deletion_done_callback, | 57 const base::Closure& deletion_done_callback, |
58 base::string16* error) const override; | 58 base::string16* error) const override; |
59 void SetLaunchType(content::BrowserContext* context, | 59 void SetLaunchType(content::BrowserContext* context, |
60 const std::string& extension_id, | 60 const std::string& extension_id, |
61 extensions::LaunchType launch_type) const override; | 61 extensions::LaunchType launch_type) const override; |
62 GURL GetIconURL(const extensions::Extension* extension, | 62 GURL GetIconURL(const extensions::Extension* extension, |
63 int icon_size, | 63 int icon_size, |
64 ExtensionIconSet::MatchType match, | 64 ExtensionIconSet::MatchType match, |
65 bool grayscale, | 65 bool grayscale, |
66 bool* exists) const override; | 66 bool* exists) const override; |
67 }; | 67 }; |
68 | 68 |
69 #endif // CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_CHROME_MANAGEMENT_API_DELEGA
TE_H_ | 69 #endif // CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_CHROME_MANAGEMENT_API_DELEGA
TE_H_ |
OLD | NEW |