OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 APPS_SHELL_SHELL_APP_SORTING_H_ | 5 #ifndef APPS_SHELL_BROWSER_SHELL_APP_SORTING_H_ |
6 #define APPS_SHELL_SHELL_APP_SORTING_H_ | 6 #define APPS_SHELL_BROWSER_SHELL_APP_SORTING_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "extensions/browser/app_sorting.h" | 9 #include "extensions/browser/app_sorting.h" |
10 | 10 |
11 namespace apps { | 11 namespace apps { |
12 | 12 |
13 // A stub AppSorting. Since app_shell only runs a single app we don't need to | 13 // A stub AppSorting. Since app_shell only runs a single app we don't need to |
14 // sort them. | 14 // sort them. |
15 class ShellAppSorting : public extensions::AppSorting { | 15 class ShellAppSorting : public extensions::AppSorting { |
16 public: | 16 public: |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 virtual syncer::StringOrdinal PageIntegerAsStringOrdinal( | 54 virtual syncer::StringOrdinal PageIntegerAsStringOrdinal( |
55 size_t page_index) OVERRIDE; | 55 size_t page_index) OVERRIDE; |
56 virtual void MarkExtensionAsHidden(const std::string& extension_id) OVERRIDE; | 56 virtual void MarkExtensionAsHidden(const std::string& extension_id) OVERRIDE; |
57 | 57 |
58 private: | 58 private: |
59 DISALLOW_COPY_AND_ASSIGN(ShellAppSorting); | 59 DISALLOW_COPY_AND_ASSIGN(ShellAppSorting); |
60 }; | 60 }; |
61 | 61 |
62 } // namespace apps | 62 } // namespace apps |
63 | 63 |
64 #endif // APPS_SHELL_SHELL_APP_SORTING_H_ | 64 #endif // APPS_SHELL_BROWSER_SHELL_APP_SORTING_H_ |
OLD | NEW |