OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_LAUNCH_UTIL_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_LAUNCH_UTIL_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_LAUNCH_UTIL_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_LAUNCH_UTIL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "chrome/common/extensions/extension_constants.h" | 10 #include "extensions/common/constants.h" |
11 | 11 |
12 class ExtensionService; | 12 class ExtensionService; |
13 | 13 |
14 namespace user_prefs { | 14 namespace user_prefs { |
15 class PrefRegistrySyncable; | 15 class PrefRegistrySyncable; |
16 } | 16 } |
17 | 17 |
18 namespace extensions { | 18 namespace extensions { |
19 namespace launch_util { | 19 namespace launch_util { |
20 | 20 |
(...skipping 29 matching lines...) Expand all Loading... |
50 | 50 |
51 // Returns true if a launch container preference has been specified for | 51 // Returns true if a launch container preference has been specified for |
52 // |extension|. GetLaunchContainer() will still return a default value even if | 52 // |extension|. GetLaunchContainer() will still return a default value even if |
53 // this returns false. | 53 // this returns false. |
54 bool HasPreferredLaunchContainer(const ExtensionPrefs* prefs, | 54 bool HasPreferredLaunchContainer(const ExtensionPrefs* prefs, |
55 const Extension* extension); | 55 const Extension* extension); |
56 | 56 |
57 } // namespace extensions | 57 } // namespace extensions |
58 | 58 |
59 #endif // CHROME_BROWSER_EXTENSIONS_LAUNCH_UTIL_H_ | 59 #endif // CHROME_BROWSER_EXTENSIONS_LAUNCH_UTIL_H_ |
OLD | NEW |