| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "chrome/browser/extensions/launch_util.h" | 10 #include "chrome/common/extensions/extension_constants.h" |
| 11 #include "ui/gfx/native_widget_types.h" | 11 #include "ui/gfx/native_widget_types.h" |
| 12 | 12 |
| 13 class ExtensionSet; | 13 class ExtensionSet; |
| 14 class Profile; | 14 class Profile; |
| 15 | 15 |
| 16 namespace base { | 16 namespace base { |
| 17 class FilePath; | 17 class FilePath; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace extensions { | 20 namespace extensions { |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 // Returns true if the given extension is installed. | 140 // Returns true if the given extension is installed. |
| 141 bool IsExtensionInstalled(Profile* profile, const std::string& app_id); | 141 bool IsExtensionInstalled(Profile* profile, const std::string& app_id); |
| 142 | 142 |
| 143 extensions::InstallTracker* GetInstallTrackerFor(Profile* profile); | 143 extensions::InstallTracker* GetInstallTrackerFor(Profile* profile); |
| 144 | 144 |
| 145 // Get the list of installed apps for the given profile. | 145 // Get the list of installed apps for the given profile. |
| 146 void GetApps(Profile* profile, ExtensionSet* out_apps); | 146 void GetApps(Profile* profile, ExtensionSet* out_apps); |
| 147 }; | 147 }; |
| 148 | 148 |
| 149 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_ | 149 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_ |
| OLD | NEW |