| OLD | NEW |
| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 } | 136 } |
| 137 | 137 |
| 138 net::URLRequestContextGetter* FakeProfile::GetRequestContextForExtensions() { | 138 net::URLRequestContextGetter* FakeProfile::GetRequestContextForExtensions() { |
| 139 return nullptr; | 139 return nullptr; |
| 140 } | 140 } |
| 141 | 141 |
| 142 net::SSLConfigService* FakeProfile::GetSSLConfigService() { | 142 net::SSLConfigService* FakeProfile::GetSSLConfigService() { |
| 143 return nullptr; | 143 return nullptr; |
| 144 } | 144 } |
| 145 | 145 |
| 146 HostContentSettingsMap* FakeProfile::GetHostContentSettingsMap() { | |
| 147 return nullptr; | |
| 148 } | |
| 149 | |
| 150 bool FakeProfile::IsSameProfile(Profile* profile) { | 146 bool FakeProfile::IsSameProfile(Profile* profile) { |
| 151 return false; | 147 return false; |
| 152 } | 148 } |
| 153 | 149 |
| 154 base::Time FakeProfile::GetStartTime() const { | 150 base::Time FakeProfile::GetStartTime() const { |
| 155 return base::Time(); | 151 return base::Time(); |
| 156 } | 152 } |
| 157 | 153 |
| 158 net::URLRequestContextGetter* FakeProfile::CreateRequestContext( | 154 net::URLRequestContextGetter* FakeProfile::CreateRequestContext( |
| 159 content::ProtocolHandlerMap* protocol_handlers, | 155 content::ProtocolHandlerMap* protocol_handlers, |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { | 204 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { |
| 209 return false; | 205 return false; |
| 210 } | 206 } |
| 211 | 207 |
| 212 void FakeProfile::SetExitType(ExitType exit_type) { | 208 void FakeProfile::SetExitType(ExitType exit_type) { |
| 213 } | 209 } |
| 214 | 210 |
| 215 Profile::ExitType FakeProfile::GetLastSessionExitType() { | 211 Profile::ExitType FakeProfile::GetLastSessionExitType() { |
| 216 return EXIT_NORMAL; | 212 return EXIT_NORMAL; |
| 217 } | 213 } |
| OLD | NEW |