| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 } | 65 } |
| 66 | 66 |
| 67 quota::SpecialStoragePolicy* FakeProfile::GetSpecialStoragePolicy() { | 67 quota::SpecialStoragePolicy* FakeProfile::GetSpecialStoragePolicy() { |
| 68 return NULL; | 68 return NULL; |
| 69 } | 69 } |
| 70 | 70 |
| 71 content::PushMessagingService* FakeProfile::GetPushMessagingService() { | 71 content::PushMessagingService* FakeProfile::GetPushMessagingService() { |
| 72 return NULL; | 72 return NULL; |
| 73 } | 73 } |
| 74 | 74 |
| 75 content::PushMessagingService* FakeProfile::GetPushMessagingService() { |
| 76 return NULL; |
| 77 } |
| 78 |
| 79 gcm::GCMPermissionContext* FakeProfile::GetPushMessagingPermissionContext() { |
| 80 return NULL; |
| 81 } |
| 82 |
| 75 scoped_refptr<base::SequencedTaskRunner> | 83 scoped_refptr<base::SequencedTaskRunner> |
| 76 FakeProfile::GetIOTaskRunner() { | 84 FakeProfile::GetIOTaskRunner() { |
| 77 return scoped_refptr<base::SequencedTaskRunner>(); | 85 return scoped_refptr<base::SequencedTaskRunner>(); |
| 78 } | 86 } |
| 79 | 87 |
| 80 Profile* FakeProfile::GetOffTheRecordProfile() { | 88 Profile* FakeProfile::GetOffTheRecordProfile() { |
| 81 return NULL; | 89 return NULL; |
| 82 } | 90 } |
| 83 | 91 |
| 84 void FakeProfile::DestroyOffTheRecordProfile() {} | 92 void FakeProfile::DestroyOffTheRecordProfile() {} |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { | 208 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { |
| 201 return false; | 209 return false; |
| 202 } | 210 } |
| 203 | 211 |
| 204 void FakeProfile::SetExitType(ExitType exit_type) { | 212 void FakeProfile::SetExitType(ExitType exit_type) { |
| 205 } | 213 } |
| 206 | 214 |
| 207 Profile::ExitType FakeProfile::GetLastSessionExitType() { | 215 Profile::ExitType FakeProfile::GetLastSessionExitType() { |
| 208 return EXIT_NORMAL; | 216 return EXIT_NORMAL; |
| 209 } | 217 } |
| OLD | NEW |