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 EXTENSIONS_BROWSER_APP_SORTING_H_ | 5 #ifndef EXTENSIONS_BROWSER_APP_SORTING_H_ |
6 #define EXTENSIONS_BROWSER_APP_SORTING_H_ | 6 #define EXTENSIONS_BROWSER_APP_SORTING_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "components/sync/api/string_ordinal.h" |
13 #include "extensions/common/extension.h" | 14 #include "extensions/common/extension.h" |
14 #include "sync/api/string_ordinal.h" | |
15 | 15 |
16 namespace extensions { | 16 namespace extensions { |
17 | 17 |
18 class ExtensionScopedPrefs; | 18 class ExtensionScopedPrefs; |
19 | 19 |
20 // An interface that provides a fixed ordering for a set of apps. | 20 // An interface that provides a fixed ordering for a set of apps. |
21 class AppSorting { | 21 class AppSorting { |
22 public: | 22 public: |
23 AppSorting() {} | 23 AppSorting() {} |
24 virtual ~AppSorting() {} | 24 virtual ~AppSorting() {} |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 virtual void SetExtensionVisible(const std::string& extension_id, | 103 virtual void SetExtensionVisible(const std::string& extension_id, |
104 bool visible) = 0; | 104 bool visible) = 0; |
105 | 105 |
106 private: | 106 private: |
107 DISALLOW_COPY_AND_ASSIGN(AppSorting); | 107 DISALLOW_COPY_AND_ASSIGN(AppSorting); |
108 }; | 108 }; |
109 | 109 |
110 } // namespace extensions | 110 } // namespace extensions |
111 | 111 |
112 #endif // EXTENSIONS_BROWSER_APP_SORTING_H_ | 112 #endif // EXTENSIONS_BROWSER_APP_SORTING_H_ |
OLD | NEW |