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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { | 191 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { |
192 return false; | 192 return false; |
193 } | 193 } |
194 | 194 |
195 void FakeProfile::SetExitType(ExitType exit_type) { | 195 void FakeProfile::SetExitType(ExitType exit_type) { |
196 } | 196 } |
197 | 197 |
198 Profile::ExitType FakeProfile::GetLastSessionExitType() { | 198 Profile::ExitType FakeProfile::GetLastSessionExitType() { |
199 return EXIT_NORMAL; | 199 return EXIT_NORMAL; |
200 } | 200 } |
| 201 |
| 202 content::WakeLockPermissionContext* |
| 203 FakeProfile::GetWakeLockPermissionContext() { |
| 204 return NULL; |
| 205 } |
OLD | NEW |