OLD | NEW |
1 // Copyright 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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "extensions/browser/extension_prefs.h" |
11 #include "extensions/common/extension.h" | 12 #include "extensions/common/extension.h" |
12 #include "sync/api/string_ordinal.h" | 13 #include "sync/api/string_ordinal.h" |
13 | 14 |
14 class ExtensionSyncService; | 15 class ExtensionSyncService; |
15 | 16 |
16 namespace extensions { | 17 namespace extensions { |
17 | 18 |
18 class ExtensionScopedPrefs; | 19 class ExtensionScopedPrefs; |
19 | 20 |
20 // An interface that provides a fixed ordering for a set of apps. | 21 // An interface that provides a fixed ordering for a set of apps. |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 // Hidden extensions don't appear in the new tab page. | 113 // Hidden extensions don't appear in the new tab page. |
113 virtual void MarkExtensionAsHidden(const std::string& extension_id) = 0; | 114 virtual void MarkExtensionAsHidden(const std::string& extension_id) = 0; |
114 | 115 |
115 private: | 116 private: |
116 DISALLOW_COPY_AND_ASSIGN(AppSorting); | 117 DISALLOW_COPY_AND_ASSIGN(AppSorting); |
117 }; | 118 }; |
118 | 119 |
119 } // namespace extensions | 120 } // namespace extensions |
120 | 121 |
121 #endif // EXTENSIONS_BROWSER_APP_SORTING_H_ | 122 #endif // EXTENSIONS_BROWSER_APP_SORTING_H_ |
OLD | NEW |