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

Side by Side Diff: extensions/browser/null_app_sorting.cc

Issue 1251323003: Cleanup: give ChromeAppSorting a BrowserContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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
OLDNEW
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 "sync/api/string_ordinal.h" 7 #include "sync/api/string_ordinal.h"
8 8
9 namespace { 9 namespace {
10 10
(...skipping 11 matching lines...) Expand all
22 22
23 NullAppSorting::~NullAppSorting() { 23 NullAppSorting::~NullAppSorting() {
24 } 24 }
25 25
26 void NullAppSorting::SetExtensionScopedPrefs(ExtensionScopedPrefs* prefs) { 26 void NullAppSorting::SetExtensionScopedPrefs(ExtensionScopedPrefs* prefs) {
27 } 27 }
28 28
29 void NullAppSorting::CheckExtensionScopedPrefs() const { 29 void NullAppSorting::CheckExtensionScopedPrefs() const {
30 } 30 }
31 31
32 void NullAppSorting::SetExtensionSyncService(
33 ExtensionSyncService* extension_sync_service) {
34 }
35
36 void NullAppSorting::Initialize(const ExtensionIdList& extension_ids) { 32 void NullAppSorting::Initialize(const ExtensionIdList& extension_ids) {
37 } 33 }
38 34
39 void NullAppSorting::FixNTPOrdinalCollisions() { 35 void NullAppSorting::FixNTPOrdinalCollisions() {
40 } 36 }
41 37
42 void NullAppSorting::EnsureValidOrdinals( 38 void NullAppSorting::EnsureValidOrdinals(
43 const std::string& extension_id, 39 const std::string& extension_id,
44 const syncer::StringOrdinal& suggested_page) { 40 const syncer::StringOrdinal& suggested_page) {
45 } 41 }
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 syncer::StringOrdinal NullAppSorting::PageIntegerAsStringOrdinal( 95 syncer::StringOrdinal NullAppSorting::PageIntegerAsStringOrdinal(
100 size_t page_index) { 96 size_t page_index) {
101 return syncer::StringOrdinal(kFirstPage); 97 return syncer::StringOrdinal(kFirstPage);
102 } 98 }
103 99
104 void NullAppSorting::SetExtensionVisible(const std::string& extension_id, 100 void NullAppSorting::SetExtensionVisible(const std::string& extension_id,
105 bool visible) { 101 bool visible) {
106 } 102 }
107 103
108 } // namespace extensions 104 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/null_app_sorting.h ('k') | extensions/browser/test_extensions_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698