| 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_store.h" | 5 #include "chrome/browser/ui/app_list/test/fake_profile_store.h" |
| 6 | 6 |
| 7 #include "base/prefs/pref_service.h" | |
| 8 #include "chrome/browser/profiles/profile.h" | 7 #include "chrome/browser/profiles/profile.h" |
| 9 #include "chrome/common/chrome_constants.h" | 8 #include "chrome/common/chrome_constants.h" |
| 10 #include "chrome/common/pref_names.h" | 9 #include "chrome/common/pref_names.h" |
| 10 #include "components/prefs/pref_service.h" |
| 11 | 11 |
| 12 FakeProfileStore::FakeProfileStore(const base::FilePath& user_data_dir, | 12 FakeProfileStore::FakeProfileStore(const base::FilePath& user_data_dir, |
| 13 PrefService* local_state) | 13 PrefService* local_state) |
| 14 : user_data_dir_(user_data_dir), local_state_(local_state) { | 14 : user_data_dir_(user_data_dir), local_state_(local_state) { |
| 15 } | 15 } |
| 16 | 16 |
| 17 FakeProfileStore::~FakeProfileStore() { | 17 FakeProfileStore::~FakeProfileStore() { |
| 18 } | 18 } |
| 19 | 19 |
| 20 void FakeProfileStore::LoadProfile(Profile* profile) { | 20 void FakeProfileStore::LoadProfile(Profile* profile) { |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 return chrome::kInitialProfile; | 73 return chrome::kInitialProfile; |
| 74 } | 74 } |
| 75 | 75 |
| 76 bool FakeProfileStore::IsProfileSupervised(const base::FilePath& path) { | 76 bool FakeProfileStore::IsProfileSupervised(const base::FilePath& path) { |
| 77 return false; | 77 return false; |
| 78 } | 78 } |
| 79 | 79 |
| 80 bool FakeProfileStore::IsProfileLocked(const base::FilePath& path) { | 80 bool FakeProfileStore::IsProfileLocked(const base::FilePath& path) { |
| 81 return false; | 81 return false; |
| 82 } | 82 } |
| OLD | NEW |