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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 } | 105 } |
106 | 106 |
107 bool FakeProfile::IsChild() { | 107 bool FakeProfile::IsChild() { |
108 return false; | 108 return false; |
109 } | 109 } |
110 | 110 |
111 bool FakeProfile::IsLegacySupervised() { | 111 bool FakeProfile::IsLegacySupervised() { |
112 return false; | 112 return false; |
113 } | 113 } |
114 | 114 |
115 history::TopSites* FakeProfile::GetTopSites() { | |
116 return NULL; | |
117 } | |
118 | |
119 history::TopSites* FakeProfile::GetTopSitesWithoutCreating() { | |
120 return NULL; | |
121 } | |
122 | |
123 ExtensionSpecialStoragePolicy* FakeProfile::GetExtensionSpecialStoragePolicy() { | 115 ExtensionSpecialStoragePolicy* FakeProfile::GetExtensionSpecialStoragePolicy() { |
124 return NULL; | 116 return NULL; |
125 } | 117 } |
126 | 118 |
127 PrefService* FakeProfile::GetPrefs() { | 119 PrefService* FakeProfile::GetPrefs() { |
128 return NULL; | 120 return NULL; |
129 } | 121 } |
130 | 122 |
131 PrefService* FakeProfile::GetOffTheRecordPrefs() { | 123 PrefService* FakeProfile::GetOffTheRecordPrefs() { |
132 return NULL; | 124 return NULL; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { | 200 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { |
209 return false; | 201 return false; |
210 } | 202 } |
211 | 203 |
212 void FakeProfile::SetExitType(ExitType exit_type) { | 204 void FakeProfile::SetExitType(ExitType exit_type) { |
213 } | 205 } |
214 | 206 |
215 Profile::ExitType FakeProfile::GetLastSessionExitType() { | 207 Profile::ExitType FakeProfile::GetLastSessionExitType() { |
216 return EXIT_NORMAL; | 208 return EXIT_NORMAL; |
217 } | 209 } |
OLD | NEW |