| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 void FakeProfile::DestroyOffTheRecordProfile() {} | 114 void FakeProfile::DestroyOffTheRecordProfile() {} |
| 115 | 115 |
| 116 bool FakeProfile::HasOffTheRecordProfile() { | 116 bool FakeProfile::HasOffTheRecordProfile() { |
| 117 return false; | 117 return false; |
| 118 } | 118 } |
| 119 | 119 |
| 120 Profile* FakeProfile::GetOriginalProfile() { | 120 Profile* FakeProfile::GetOriginalProfile() { |
| 121 return this; | 121 return this; |
| 122 } | 122 } |
| 123 | 123 |
| 124 bool FakeProfile::IsManaged() { | 124 bool FakeProfile::IsSupervised() { |
| 125 return false; | 125 return false; |
| 126 } | 126 } |
| 127 | 127 |
| 128 history::TopSites* FakeProfile::GetTopSites() { | 128 history::TopSites* FakeProfile::GetTopSites() { |
| 129 return NULL; | 129 return NULL; |
| 130 } | 130 } |
| 131 | 131 |
| 132 history::TopSites* FakeProfile::GetTopSitesWithoutCreating() { | 132 history::TopSites* FakeProfile::GetTopSitesWithoutCreating() { |
| 133 return NULL; | 133 return NULL; |
| 134 } | 134 } |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { | 230 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { |
| 231 return false; | 231 return false; |
| 232 } | 232 } |
| 233 | 233 |
| 234 void FakeProfile::SetExitType(ExitType exit_type) { | 234 void FakeProfile::SetExitType(ExitType exit_type) { |
| 235 } | 235 } |
| 236 | 236 |
| 237 Profile::ExitType FakeProfile::GetLastSessionExitType() { | 237 Profile::ExitType FakeProfile::GetLastSessionExitType() { |
| 238 return EXIT_NORMAL; | 238 return EXIT_NORMAL; |
| 239 } | 239 } |
| OLD | NEW |