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

Side by Side Diff: chrome/browser/ui/app_list/test/fake_profile.cc

Issue 349073004: Cleanup: Remove deprecated Profile::GetExtensionService(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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 "chrome/browser/ui/app_list/test/fake_profile.h" 5 #include "chrome/browser/ui/app_list/test/fake_profile.h"
6 6
7 FakeProfile::FakeProfile(const std::string& name) 7 FakeProfile::FakeProfile(const std::string& name)
8 : name_(name) { 8 : name_(name) {
9 } 9 }
10 10
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 } 96 }
97 97
98 history::TopSites* FakeProfile::GetTopSites() { 98 history::TopSites* FakeProfile::GetTopSites() {
99 return NULL; 99 return NULL;
100 } 100 }
101 101
102 history::TopSites* FakeProfile::GetTopSitesWithoutCreating() { 102 history::TopSites* FakeProfile::GetTopSitesWithoutCreating() {
103 return NULL; 103 return NULL;
104 } 104 }
105 105
106 ExtensionService* FakeProfile::GetExtensionService() {
107 return NULL;
108 }
109
110 ExtensionSpecialStoragePolicy* FakeProfile::GetExtensionSpecialStoragePolicy() { 106 ExtensionSpecialStoragePolicy* FakeProfile::GetExtensionSpecialStoragePolicy() {
111 return NULL; 107 return NULL;
112 } 108 }
113 109
114 PrefService* FakeProfile::GetPrefs() { 110 PrefService* FakeProfile::GetPrefs() {
115 return NULL; 111 return NULL;
116 } 112 }
117 113
118 PrefService* FakeProfile::GetOffTheRecordPrefs() { 114 PrefService* FakeProfile::GetOffTheRecordPrefs() {
119 return NULL; 115 return NULL;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { 191 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) {
196 return false; 192 return false;
197 } 193 }
198 194
199 void FakeProfile::SetExitType(ExitType exit_type) { 195 void FakeProfile::SetExitType(ExitType exit_type) {
200 } 196 }
201 197
202 Profile::ExitType FakeProfile::GetLastSessionExitType() { 198 Profile::ExitType FakeProfile::GetLastSessionExitType() {
203 return EXIT_NORMAL; 199 return EXIT_NORMAL;
204 } 200 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698