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