| 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 #include "extensions/browser/null_app_sorting.h" | 5 #include "extensions/browser/null_app_sorting.h" |
| 6 | 6 |
| 7 #include "components/sync/api/string_ordinal.h" | 7 #include "components/sync/model/string_ordinal.h" |
| 8 | 8 |
| 9 namespace { | 9 namespace { |
| 10 | 10 |
| 11 // Ordinals for a single app on a single page. | 11 // Ordinals for a single app on a single page. |
| 12 const char kFirstApp[] = "a"; | 12 const char kFirstApp[] = "a"; |
| 13 const char kNextApp[] = "b"; | 13 const char kNextApp[] = "b"; |
| 14 const char kFirstPage[] = "a"; | 14 const char kFirstPage[] = "a"; |
| 15 | 15 |
| 16 } // namespace | 16 } // namespace |
| 17 | 17 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 syncer::StringOrdinal NullAppSorting::PageIntegerAsStringOrdinal( | 93 syncer::StringOrdinal NullAppSorting::PageIntegerAsStringOrdinal( |
| 94 size_t page_index) { | 94 size_t page_index) { |
| 95 return syncer::StringOrdinal(kFirstPage); | 95 return syncer::StringOrdinal(kFirstPage); |
| 96 } | 96 } |
| 97 | 97 |
| 98 void NullAppSorting::SetExtensionVisible(const std::string& extension_id, | 98 void NullAppSorting::SetExtensionVisible(const std::string& extension_id, |
| 99 bool visible) { | 99 bool visible) { |
| 100 } | 100 } |
| 101 | 101 |
| 102 } // namespace extensions | 102 } // namespace extensions |
| OLD | NEW |