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

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

Issue 815983002: Topsites become keyedService based. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove extra inclusion from testing_profile.h Created 5 years, 11 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
« no previous file with comments | « chrome/browser/ui/app_list/test/fake_profile.h ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 } 105 }
106 106
107 bool FakeProfile::IsChild() { 107 bool FakeProfile::IsChild() {
108 return false; 108 return false;
109 } 109 }
110 110
111 bool FakeProfile::IsLegacySupervised() { 111 bool FakeProfile::IsLegacySupervised() {
112 return false; 112 return false;
113 } 113 }
114 114
115 history::TopSites* FakeProfile::GetTopSites() {
116 return NULL;
117 }
118
119 history::TopSites* FakeProfile::GetTopSitesWithoutCreating() {
120 return NULL;
121 }
122
123 ExtensionSpecialStoragePolicy* FakeProfile::GetExtensionSpecialStoragePolicy() { 115 ExtensionSpecialStoragePolicy* FakeProfile::GetExtensionSpecialStoragePolicy() {
124 return NULL; 116 return NULL;
125 } 117 }
126 118
127 PrefService* FakeProfile::GetPrefs() { 119 PrefService* FakeProfile::GetPrefs() {
128 return NULL; 120 return NULL;
129 } 121 }
130 122
131 PrefService* FakeProfile::GetOffTheRecordPrefs() { 123 PrefService* FakeProfile::GetOffTheRecordPrefs() {
132 return NULL; 124 return NULL;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { 200 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) {
209 return false; 201 return false;
210 } 202 }
211 203
212 void FakeProfile::SetExitType(ExitType exit_type) { 204 void FakeProfile::SetExitType(ExitType exit_type) {
213 } 205 }
214 206
215 Profile::ExitType FakeProfile::GetLastSessionExitType() { 207 Profile::ExitType FakeProfile::GetLastSessionExitType() {
216 return EXIT_NORMAL; 208 return EXIT_NORMAL;
217 } 209 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/test/fake_profile.h ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698