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

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

Issue 1011953003: Refactor Permissions related method out of ContentBrowserClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission_type_enum_class
Patch Set: fix cros Created 5 years, 8 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 } 73 }
74 74
75 content::PushMessagingService* FakeProfile::GetPushMessagingService() { 75 content::PushMessagingService* FakeProfile::GetPushMessagingService() {
76 return nullptr; 76 return nullptr;
77 } 77 }
78 78
79 content::SSLHostStateDelegate* FakeProfile::GetSSLHostStateDelegate() { 79 content::SSLHostStateDelegate* FakeProfile::GetSSLHostStateDelegate() {
80 return nullptr; 80 return nullptr;
81 } 81 }
82 82
83 content::PermissionManager* FakeProfile::GetPermissionManager() {
84 return nullptr;
85 }
86
83 scoped_refptr<base::SequencedTaskRunner> 87 scoped_refptr<base::SequencedTaskRunner>
84 FakeProfile::GetIOTaskRunner() { 88 FakeProfile::GetIOTaskRunner() {
85 return scoped_refptr<base::SequencedTaskRunner>(); 89 return scoped_refptr<base::SequencedTaskRunner>();
86 } 90 }
87 91
88 Profile* FakeProfile::GetOffTheRecordProfile() { 92 Profile* FakeProfile::GetOffTheRecordProfile() {
89 return nullptr; 93 return nullptr;
90 } 94 }
91 95
92 void FakeProfile::DestroyOffTheRecordProfile() {} 96 void FakeProfile::DestroyOffTheRecordProfile() {}
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { 207 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) {
204 return false; 208 return false;
205 } 209 }
206 210
207 void FakeProfile::SetExitType(ExitType exit_type) { 211 void FakeProfile::SetExitType(ExitType exit_type) {
208 } 212 }
209 213
210 Profile::ExitType FakeProfile::GetLastSessionExitType() { 214 Profile::ExitType FakeProfile::GetLastSessionExitType() {
211 return EXIT_NORMAL; 215 return EXIT_NORMAL;
212 } 216 }
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