| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_EXTENSIONS_EXTENSION_SORTING_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SORTING_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SORTING_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SORTING_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "chrome/browser/extensions/extension_prefs.h" | 13 #include "chrome/browser/extensions/extension_prefs.h" |
| 14 #include "chrome/common/extensions/extension.h" | 14 #include "extensions/common/extension.h" |
| 15 #include "sync/api/string_ordinal.h" | 15 #include "sync/api/string_ordinal.h" |
| 16 | 16 |
| 17 class ExtensionScopedPrefs; | 17 class ExtensionScopedPrefs; |
| 18 class ExtensionSyncService; | 18 class ExtensionSyncService; |
| 19 class PrefService; | 19 class PrefService; |
| 20 | 20 |
| 21 class ExtensionSorting { | 21 class ExtensionSorting { |
| 22 public: | 22 public: |
| 23 explicit ExtensionSorting(ExtensionScopedPrefs* extension_scoped_prefs); | 23 explicit ExtensionSorting(ExtensionScopedPrefs* extension_scoped_prefs); |
| 24 ~ExtensionSorting(); | 24 ~ExtensionSorting(); |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 // construction when the app order may not have been determined. | 215 // construction when the app order may not have been determined. |
| 216 bool default_ordinals_created_; | 216 bool default_ordinals_created_; |
| 217 | 217 |
| 218 // The set of extensions that don't appear in the new tab page. | 218 // The set of extensions that don't appear in the new tab page. |
| 219 std::set<std::string> ntp_hidden_extensions_; | 219 std::set<std::string> ntp_hidden_extensions_; |
| 220 | 220 |
| 221 DISALLOW_COPY_AND_ASSIGN(ExtensionSorting); | 221 DISALLOW_COPY_AND_ASSIGN(ExtensionSorting); |
| 222 }; | 222 }; |
| 223 | 223 |
| 224 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SORTING_H_ | 224 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SORTING_H_ |
| OLD | NEW |