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