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 "components/sync/model/string_ordinal.h" |
14 #include "extensions/common/extension.h" | 14 #include "extensions/common/extension.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() {} |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 virtual void SetExtensionVisible(const std::string& extension_id, | 111 virtual void SetExtensionVisible(const std::string& extension_id, |
112 bool visible) = 0; | 112 bool visible) = 0; |
113 | 113 |
114 private: | 114 private: |
115 DISALLOW_COPY_AND_ASSIGN(AppSorting); | 115 DISALLOW_COPY_AND_ASSIGN(AppSorting); |
116 }; | 116 }; |
117 | 117 |
118 } // namespace extensions | 118 } // namespace extensions |
119 | 119 |
120 #endif // EXTENSIONS_BROWSER_APP_SORTING_H_ | 120 #endif // EXTENSIONS_BROWSER_APP_SORTING_H_ |
OLD | NEW |