| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_EXTENSION_PREFS_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 typedef std::vector<linked_ptr<ExtensionInfo> > ExtensionsInfo; | 29 typedef std::vector<linked_ptr<ExtensionInfo> > ExtensionsInfo; |
| 30 | 30 |
| 31 // This enum is used for the launch type the user wants to use for an | 31 // This enum is used for the launch type the user wants to use for an |
| 32 // application. | 32 // application. |
| 33 // Do not remove items or re-order this enum as it is used in preferences | 33 // Do not remove items or re-order this enum as it is used in preferences |
| 34 // and histograms. | 34 // and histograms. |
| 35 enum LaunchType { | 35 enum LaunchType { |
| 36 LAUNCH_PINNED, | 36 LAUNCH_PINNED, |
| 37 LAUNCH_REGULAR, | 37 LAUNCH_REGULAR, |
| 38 LAUNCH_FULLSCREEN, | 38 LAUNCH_FULLSCREEN |
| 39 LAUNCH_WINDOW | |
| 40 }; | 39 }; |
| 41 | 40 |
| 42 explicit ExtensionPrefs(PrefService* prefs, const FilePath& root_dir_); | 41 explicit ExtensionPrefs(PrefService* prefs, const FilePath& root_dir_); |
| 43 ~ExtensionPrefs(); | 42 ~ExtensionPrefs(); |
| 44 | 43 |
| 45 // Returns a copy of the Extensions prefs. | 44 // Returns a copy of the Extensions prefs. |
| 46 // TODO(erikkay) Remove this so that external consumers don't need to be | 45 // TODO(erikkay) Remove this so that external consumers don't need to be |
| 47 // aware of the internal structure of the preferences. | 46 // aware of the internal structure of the preferences. |
| 48 DictionaryValue* CopyCurrentExtensions(); | 47 DictionaryValue* CopyCurrentExtensions(); |
| 49 | 48 |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 // Base extensions install directory. | 263 // Base extensions install directory. |
| 265 FilePath install_directory_; | 264 FilePath install_directory_; |
| 266 | 265 |
| 267 // The URLs of all of the toolstrips. | 266 // The URLs of all of the toolstrips. |
| 268 URLList shelf_order_; | 267 URLList shelf_order_; |
| 269 | 268 |
| 270 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefs); | 269 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefs); |
| 271 }; | 270 }; |
| 272 | 271 |
| 273 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ | 272 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ |
| OLD | NEW |