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::SSLHostStateDelegate* FakeProfile::GetSSLHostStateDelegate() { |
| 76 return NULL; |
| 77 } |
| 78 |
75 scoped_refptr<base::SequencedTaskRunner> | 79 scoped_refptr<base::SequencedTaskRunner> |
76 FakeProfile::GetIOTaskRunner() { | 80 FakeProfile::GetIOTaskRunner() { |
77 return scoped_refptr<base::SequencedTaskRunner>(); | 81 return scoped_refptr<base::SequencedTaskRunner>(); |
78 } | 82 } |
79 | 83 |
80 Profile* FakeProfile::GetOffTheRecordProfile() { | 84 Profile* FakeProfile::GetOffTheRecordProfile() { |
81 return NULL; | 85 return NULL; |
82 } | 86 } |
83 | 87 |
84 void FakeProfile::DestroyOffTheRecordProfile() {} | 88 void FakeProfile::DestroyOffTheRecordProfile() {} |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { | 195 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { |
192 return false; | 196 return false; |
193 } | 197 } |
194 | 198 |
195 void FakeProfile::SetExitType(ExitType exit_type) { | 199 void FakeProfile::SetExitType(ExitType exit_type) { |
196 } | 200 } |
197 | 201 |
198 Profile::ExitType FakeProfile::GetLastSessionExitType() { | 202 Profile::ExitType FakeProfile::GetLastSessionExitType() { |
199 return EXIT_NORMAL; | 203 return EXIT_NORMAL; |
200 } | 204 } |
OLD | NEW |