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

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

Issue 258373002: Towards moving guest management to chrome: Introduce GuestViewManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android build Created 6 years, 7 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/chrome_browser.gypi » ('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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 content::ResourceContext* FakeProfile::GetResourceContext() { 88 content::ResourceContext* FakeProfile::GetResourceContext() {
89 return NULL; 89 return NULL;
90 } 90 }
91 91
92 content::GeolocationPermissionContext* 92 content::GeolocationPermissionContext*
93 FakeProfile::GetGeolocationPermissionContext() { 93 FakeProfile::GetGeolocationPermissionContext() {
94 return NULL; 94 return NULL;
95 } 95 }
96 96
97 content::BrowserPluginGuestManagerDelegate*
98 FakeProfile::GetGuestManagerDelegate() {
99 return NULL;
100 }
101
97 quota::SpecialStoragePolicy* FakeProfile::GetSpecialStoragePolicy() { 102 quota::SpecialStoragePolicy* FakeProfile::GetSpecialStoragePolicy() {
98 return NULL; 103 return NULL;
99 } 104 }
100 105
101 scoped_refptr<base::SequencedTaskRunner> 106 scoped_refptr<base::SequencedTaskRunner>
102 FakeProfile::GetIOTaskRunner() { 107 FakeProfile::GetIOTaskRunner() {
103 return scoped_refptr<base::SequencedTaskRunner>(); 108 return scoped_refptr<base::SequencedTaskRunner>();
104 } 109 }
105 110
106 Profile* FakeProfile::GetOffTheRecordProfile() { 111 Profile* FakeProfile::GetOffTheRecordProfile() {
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { 221 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) {
217 return false; 222 return false;
218 } 223 }
219 224
220 void FakeProfile::SetExitType(ExitType exit_type) { 225 void FakeProfile::SetExitType(ExitType exit_type) {
221 } 226 }
222 227
223 Profile::ExitType FakeProfile::GetLastSessionExitType() { 228 Profile::ExitType FakeProfile::GetLastSessionExitType() {
224 return EXIT_NORMAL; 229 return EXIT_NORMAL;
225 } 230 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/test/fake_profile.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698