| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |