| 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> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/linked_ptr.h" | 13 #include "base/linked_ptr.h" |
| 14 #include "base/time.h" | 14 #include "base/time.h" |
| 15 #include "chrome/browser/pref_service.h" | 15 #include "chrome/browser/prefs/pref_service.h" |
| 16 #include "chrome/common/extensions/extension.h" | 16 #include "chrome/common/extensions/extension.h" |
| 17 #include "googleurl/src/gurl.h" | 17 #include "googleurl/src/gurl.h" |
| 18 | 18 |
| 19 // Class for managing global and per-extension preferences. | 19 // Class for managing global and per-extension preferences. |
| 20 // This class is instantiated by ExtensionsService, so it should be accessed | 20 // This class is instantiated by ExtensionsService, so it should be accessed |
| 21 // from there. | 21 // from there. |
| 22 class ExtensionPrefs { | 22 class ExtensionPrefs { |
| 23 public: | 23 public: |
| 24 typedef std::vector<linked_ptr<ExtensionInfo> > ExtensionsInfo; | 24 typedef std::vector<linked_ptr<ExtensionInfo> > ExtensionsInfo; |
| 25 | 25 |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 // Base extensions install directory. | 198 // Base extensions install directory. |
| 199 FilePath install_directory_; | 199 FilePath install_directory_; |
| 200 | 200 |
| 201 // The URLs of all of the toolstrips. | 201 // The URLs of all of the toolstrips. |
| 202 URLList shelf_order_; | 202 URLList shelf_order_; |
| 203 | 203 |
| 204 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefs); | 204 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefs); |
| 205 }; | 205 }; |
| 206 | 206 |
| 207 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ | 207 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ |
| OLD | NEW |