| Index: chrome/browser/extensions/launch_util.h
|
| diff --git a/chrome/browser/extensions/launch_util.h b/chrome/browser/extensions/launch_util.h
|
| index 0cdfb72fa484d4244b6c6822d1e399f4233055cd..8afa202a196508ad884b89180e2dfc782ebda51f 100644
|
| --- a/chrome/browser/extensions/launch_util.h
|
| +++ b/chrome/browser/extensions/launch_util.h
|
| @@ -9,6 +9,8 @@
|
|
|
| #include "chrome/common/extensions/extension_constants.h"
|
|
|
| +class ExtensionService;
|
| +
|
| namespace extensions {
|
|
|
| class Extension;
|
| @@ -22,10 +24,13 @@ LaunchType GetLaunchType(const ExtensionPrefs* prefs,
|
| const Extension* extension);
|
|
|
| // Sets an extension's launch type preference.
|
| -void SetLaunchType(ExtensionPrefs* prefs,
|
| +void SetLaunchType(ExtensionService* prefs,
|
| const std::string& extension_id,
|
| LaunchType launch_type);
|
|
|
| +bool HasPreferredLaunchType(const ExtensionPrefs* prefs,
|
| + const Extension* extension);
|
| +
|
| // Finds the right launch container based on the launch type.
|
| // If |extension|'s prefs do not have a launch type set, then the default
|
| // value from GetLaunchType() is used to choose the launch container.
|
|
|