| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 } | 95 } |
| 96 | 96 |
| 97 content::BrowserPluginGuestManager* FakeProfile::GetGuestManager() { | 97 content::BrowserPluginGuestManager* FakeProfile::GetGuestManager() { |
| 98 return NULL; | 98 return NULL; |
| 99 } | 99 } |
| 100 | 100 |
| 101 quota::SpecialStoragePolicy* FakeProfile::GetSpecialStoragePolicy() { | 101 quota::SpecialStoragePolicy* FakeProfile::GetSpecialStoragePolicy() { |
| 102 return NULL; | 102 return NULL; |
| 103 } | 103 } |
| 104 | 104 |
| 105 content::PushMessagingService* FakeProfile::GetPushMessagingService() { |
| 106 return NULL; |
| 107 } |
| 108 |
| 105 scoped_refptr<base::SequencedTaskRunner> | 109 scoped_refptr<base::SequencedTaskRunner> |
| 106 FakeProfile::GetIOTaskRunner() { | 110 FakeProfile::GetIOTaskRunner() { |
| 107 return scoped_refptr<base::SequencedTaskRunner>(); | 111 return scoped_refptr<base::SequencedTaskRunner>(); |
| 108 } | 112 } |
| 109 | 113 |
| 110 Profile* FakeProfile::GetOffTheRecordProfile() { | 114 Profile* FakeProfile::GetOffTheRecordProfile() { |
| 111 return NULL; | 115 return NULL; |
| 112 } | 116 } |
| 113 | 117 |
| 114 void FakeProfile::DestroyOffTheRecordProfile() {} | 118 void FakeProfile::DestroyOffTheRecordProfile() {} |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { | 234 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { |
| 231 return false; | 235 return false; |
| 232 } | 236 } |
| 233 | 237 |
| 234 void FakeProfile::SetExitType(ExitType exit_type) { | 238 void FakeProfile::SetExitType(ExitType exit_type) { |
| 235 } | 239 } |
| 236 | 240 |
| 237 Profile::ExitType FakeProfile::GetLastSessionExitType() { | 241 Profile::ExitType FakeProfile::GetLastSessionExitType() { |
| 238 return EXIT_NORMAL; | 242 return EXIT_NORMAL; |
| 239 } | 243 } |
| OLD | NEW |