Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(621)

Side by Side Diff: chrome/browser/ui/app_list/test/fake_profile_store.cc

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/start_page_service.cc ('k') | chrome/browser/ui/ash/app_sync_ui_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698