| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 } | 96 } |
| 97 | 97 |
| 98 history::TopSites* FakeProfile::GetTopSites() { | 98 history::TopSites* FakeProfile::GetTopSites() { |
| 99 return NULL; | 99 return NULL; |
| 100 } | 100 } |
| 101 | 101 |
| 102 history::TopSites* FakeProfile::GetTopSitesWithoutCreating() { | 102 history::TopSites* FakeProfile::GetTopSitesWithoutCreating() { |
| 103 return NULL; | 103 return NULL; |
| 104 } | 104 } |
| 105 | 105 |
| 106 ExtensionService* FakeProfile::GetExtensionService() { | |
| 107 return NULL; | |
| 108 } | |
| 109 | |
| 110 ExtensionSpecialStoragePolicy* FakeProfile::GetExtensionSpecialStoragePolicy() { | 106 ExtensionSpecialStoragePolicy* FakeProfile::GetExtensionSpecialStoragePolicy() { |
| 111 return NULL; | 107 return NULL; |
| 112 } | 108 } |
| 113 | 109 |
| 114 PrefService* FakeProfile::GetPrefs() { | 110 PrefService* FakeProfile::GetPrefs() { |
| 115 return NULL; | 111 return NULL; |
| 116 } | 112 } |
| 117 | 113 |
| 118 PrefService* FakeProfile::GetOffTheRecordPrefs() { | 114 PrefService* FakeProfile::GetOffTheRecordPrefs() { |
| 119 return NULL; | 115 return NULL; |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { | 191 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { |
| 196 return false; | 192 return false; |
| 197 } | 193 } |
| 198 | 194 |
| 199 void FakeProfile::SetExitType(ExitType exit_type) { | 195 void FakeProfile::SetExitType(ExitType exit_type) { |
| 200 } | 196 } |
| 201 | 197 |
| 202 Profile::ExitType FakeProfile::GetLastSessionExitType() { | 198 Profile::ExitType FakeProfile::GetLastSessionExitType() { |
| 203 return EXIT_NORMAL; | 199 return EXIT_NORMAL; |
| 204 } | 200 } |
| OLD | NEW |