Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: extensions/shell/browser/shell_app_sorting.cc

Issue 412713002: Move apps/shell to extensions/shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 40% Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #include "apps/shell/browser/shell_app_sorting.h" 5 #include "extensions/shell/browser/shell_app_sorting.h"
6 6
7 #include "sync/api/string_ordinal.h" 7 #include "sync/api/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
18 namespace apps { 18 namespace extensions {
19 19
20 ShellAppSorting::ShellAppSorting() { 20 ShellAppSorting::ShellAppSorting() {
21 } 21 }
22 22
23 ShellAppSorting::~ShellAppSorting() { 23 ShellAppSorting::~ShellAppSorting() {
24 } 24 }
25 25
26 void ShellAppSorting::SetExtensionScopedPrefs( 26 void ShellAppSorting::SetExtensionScopedPrefs(ExtensionScopedPrefs* prefs) {
27 extensions::ExtensionScopedPrefs* prefs) {
28 } 27 }
29 28
30 void ShellAppSorting::SetExtensionSyncService( 29 void ShellAppSorting::SetExtensionSyncService(
31 ExtensionSyncService* extension_sync_service) { 30 ExtensionSyncService* extension_sync_service) {
32 } 31 }
33 32
34 void ShellAppSorting::Initialize( 33 void ShellAppSorting::Initialize(const ExtensionIdList& extension_ids) {
35 const extensions::ExtensionIdList& extension_ids) {
36 } 34 }
37 35
38 void ShellAppSorting::FixNTPOrdinalCollisions() { 36 void ShellAppSorting::FixNTPOrdinalCollisions() {
39 } 37 }
40 38
41 void ShellAppSorting::EnsureValidOrdinals( 39 void ShellAppSorting::EnsureValidOrdinals(
42 const std::string& extension_id, 40 const std::string& extension_id,
43 const syncer::StringOrdinal& suggested_page) { 41 const syncer::StringOrdinal& suggested_page) {
44 } 42 }
45 43
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 95
98 syncer::StringOrdinal ShellAppSorting::PageIntegerAsStringOrdinal( 96 syncer::StringOrdinal ShellAppSorting::PageIntegerAsStringOrdinal(
99 size_t page_index) { 97 size_t page_index) {
100 return syncer::StringOrdinal(kFirstPage); 98 return syncer::StringOrdinal(kFirstPage);
101 } 99 }
102 100
103 void ShellAppSorting::SetExtensionVisible(const std::string& extension_id, 101 void ShellAppSorting::SetExtensionVisible(const std::string& extension_id,
104 bool visible) { 102 bool visible) {
105 } 103 }
106 104
107 } // namespace apps 105 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_app_sorting.h ('k') | extensions/shell/browser/shell_app_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698