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> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/basictypes.h" | 12 #include "base/macros.h" |
11 #include "extensions/common/extension.h" | 13 #include "extensions/common/extension.h" |
12 #include "sync/api/string_ordinal.h" | 14 #include "sync/api/string_ordinal.h" |
13 | 15 |
14 namespace extensions { | 16 namespace extensions { |
15 | 17 |
16 class ExtensionScopedPrefs; | 18 class ExtensionScopedPrefs; |
17 | 19 |
18 // 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. |
19 class AppSorting { | 21 class AppSorting { |
20 public: | 22 public: |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 virtual void SetExtensionVisible(const std::string& extension_id, | 103 virtual void SetExtensionVisible(const std::string& extension_id, |
102 bool visible) = 0; | 104 bool visible) = 0; |
103 | 105 |
104 private: | 106 private: |
105 DISALLOW_COPY_AND_ASSIGN(AppSorting); | 107 DISALLOW_COPY_AND_ASSIGN(AppSorting); |
106 }; | 108 }; |
107 | 109 |
108 } // namespace extensions | 110 } // namespace extensions |
109 | 111 |
110 #endif // EXTENSIONS_BROWSER_APP_SORTING_H_ | 112 #endif // EXTENSIONS_BROWSER_APP_SORTING_H_ |
OLD | NEW |