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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "chrome/browser/ui/app_list/test/fake_profile.h" | 6 #include "chrome/browser/ui/app_list/test/fake_profile.h" |
7 | 7 |
8 FakeProfile::FakeProfile(const std::string& name) | 8 FakeProfile::FakeProfile(const std::string& name) |
9 : name_(name) { | 9 : name_(name) { |
10 } | 10 } |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 } | 82 } |
83 | 83 |
84 content::PermissionManager* FakeProfile::GetPermissionManager() { | 84 content::PermissionManager* FakeProfile::GetPermissionManager() { |
85 return nullptr; | 85 return nullptr; |
86 } | 86 } |
87 | 87 |
88 content::BackgroundSyncController* FakeProfile::GetBackgroundSyncController() { | 88 content::BackgroundSyncController* FakeProfile::GetBackgroundSyncController() { |
89 return nullptr; | 89 return nullptr; |
90 } | 90 } |
91 | 91 |
| 92 content::ChooserPermissionManager* FakeProfile::GetChooserPermissionManager() { |
| 93 return nullptr; |
| 94 } |
| 95 |
92 scoped_refptr<base::SequencedTaskRunner> | 96 scoped_refptr<base::SequencedTaskRunner> |
93 FakeProfile::GetIOTaskRunner() { | 97 FakeProfile::GetIOTaskRunner() { |
94 return scoped_refptr<base::SequencedTaskRunner>(); | 98 return scoped_refptr<base::SequencedTaskRunner>(); |
95 } | 99 } |
96 | 100 |
97 Profile* FakeProfile::GetOffTheRecordProfile() { | 101 Profile* FakeProfile::GetOffTheRecordProfile() { |
98 return nullptr; | 102 return nullptr; |
99 } | 103 } |
100 | 104 |
101 void FakeProfile::DestroyOffTheRecordProfile() {} | 105 void FakeProfile::DestroyOffTheRecordProfile() {} |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { | 213 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { |
210 return false; | 214 return false; |
211 } | 215 } |
212 | 216 |
213 void FakeProfile::SetExitType(ExitType exit_type) { | 217 void FakeProfile::SetExitType(ExitType exit_type) { |
214 } | 218 } |
215 | 219 |
216 Profile::ExitType FakeProfile::GetLastSessionExitType() { | 220 Profile::ExitType FakeProfile::GetLastSessionExitType() { |
217 return EXIT_NORMAL; | 221 return EXIT_NORMAL; |
218 } | 222 } |
OLD | NEW |