OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_NULL_APP_SORTING_H_ | 5 #ifndef EXTENSIONS_BROWSER_NULL_APP_SORTING_H_ |
6 #define EXTENSIONS_BROWSER_NULL_APP_SORTING_H_ | 6 #define EXTENSIONS_BROWSER_NULL_APP_SORTING_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 11 #include "base/macros.h" |
10 #include "extensions/browser/app_sorting.h" | 12 #include "extensions/browser/app_sorting.h" |
11 | 13 |
12 namespace extensions { | 14 namespace extensions { |
13 | 15 |
14 // An AppSorting that doesn't provide any ordering. | 16 // An AppSorting that doesn't provide any ordering. |
15 class NullAppSorting : public AppSorting { | 17 class NullAppSorting : public AppSorting { |
16 public: | 18 public: |
17 NullAppSorting(); | 19 NullAppSorting(); |
(...skipping 29 matching lines...) Expand all Loading... |
47 void SetExtensionVisible(const std::string& extension_id, | 49 void SetExtensionVisible(const std::string& extension_id, |
48 bool visible) override; | 50 bool visible) override; |
49 | 51 |
50 private: | 52 private: |
51 DISALLOW_COPY_AND_ASSIGN(NullAppSorting); | 53 DISALLOW_COPY_AND_ASSIGN(NullAppSorting); |
52 }; | 54 }; |
53 | 55 |
54 } // namespace extensions | 56 } // namespace extensions |
55 | 57 |
56 #endif // EXTENSIONS_BROWSER_NULL_APP_SORTING_H_ | 58 #endif // EXTENSIONS_BROWSER_NULL_APP_SORTING_H_ |
OLD | NEW |