| 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* | 97 content::BrowserPluginGuestManager* FakeProfile::GetGuestManager() { |
| 98 FakeProfile::GetGuestManagerDelegate() { | |
| 99 return NULL; | 98 return NULL; |
| 100 } | 99 } |
| 101 | 100 |
| 102 quota::SpecialStoragePolicy* FakeProfile::GetSpecialStoragePolicy() { | 101 quota::SpecialStoragePolicy* FakeProfile::GetSpecialStoragePolicy() { |
| 103 return NULL; | 102 return NULL; |
| 104 } | 103 } |
| 105 | 104 |
| 106 scoped_refptr<base::SequencedTaskRunner> | 105 scoped_refptr<base::SequencedTaskRunner> |
| 107 FakeProfile::GetIOTaskRunner() { | 106 FakeProfile::GetIOTaskRunner() { |
| 108 return scoped_refptr<base::SequencedTaskRunner>(); | 107 return scoped_refptr<base::SequencedTaskRunner>(); |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { | 220 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { |
| 222 return false; | 221 return false; |
| 223 } | 222 } |
| 224 | 223 |
| 225 void FakeProfile::SetExitType(ExitType exit_type) { | 224 void FakeProfile::SetExitType(ExitType exit_type) { |
| 226 } | 225 } |
| 227 | 226 |
| 228 Profile::ExitType FakeProfile::GetLastSessionExitType() { | 227 Profile::ExitType FakeProfile::GetLastSessionExitType() { |
| 229 return EXIT_NORMAL; | 228 return EXIT_NORMAL; |
| 230 } | 229 } |
| OLD | NEW |