OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_CHROME_APP_SORTING_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_APP_SORTING_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_CHROME_APP_SORTING_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_CHROME_APP_SORTING_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <set> | 11 #include <set> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "components/sync/api/string_ordinal.h" |
15 #include "extensions/browser/app_sorting.h" | 16 #include "extensions/browser/app_sorting.h" |
16 #include "extensions/browser/extension_prefs.h" | 17 #include "extensions/browser/extension_prefs.h" |
17 #include "extensions/common/extension.h" | 18 #include "extensions/common/extension.h" |
18 #include "sync/api/string_ordinal.h" | |
19 | 19 |
20 class PrefService; | 20 class PrefService; |
21 | 21 |
22 namespace extensions { | 22 namespace extensions { |
23 | 23 |
24 class ExtensionScopedPrefs; | 24 class ExtensionScopedPrefs; |
25 | 25 |
26 class ChromeAppSorting : public AppSorting { | 26 class ChromeAppSorting : public AppSorting { |
27 public: | 27 public: |
28 explicit ChromeAppSorting(content::BrowserContext* browser_context); | 28 explicit ChromeAppSorting(content::BrowserContext* browser_context); |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 | 173 |
174 // The set of extensions that don't appear in the new tab page. | 174 // The set of extensions that don't appear in the new tab page. |
175 std::set<std::string> ntp_hidden_extensions_; | 175 std::set<std::string> ntp_hidden_extensions_; |
176 | 176 |
177 DISALLOW_COPY_AND_ASSIGN(ChromeAppSorting); | 177 DISALLOW_COPY_AND_ASSIGN(ChromeAppSorting); |
178 }; | 178 }; |
179 | 179 |
180 } // namespace extensions | 180 } // namespace extensions |
181 | 181 |
182 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_APP_SORTING_H_ | 182 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_APP_SORTING_H_ |
OLD | NEW |