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

Side by Side Diff: chrome/browser/ui/app_list/app_list_util.cc

Issue 12211105: Move remaining non-test, non-Chrome-specific Prefs code to base/prefs/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments, merge to LKGR. Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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/app_list_util.h" 5 #include "chrome/browser/ui/app_list/app_list_util.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/prefs/pref_registry_simple.h"
9 #include "base/prefs/pref_service.h"
8 #include "build/build_config.h" 10 #include "build/build_config.h"
9 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/extensions/extension_prefs.h" 12 #include "chrome/browser/extensions/extension_prefs.h"
11 #include "chrome/browser/prefs/pref_registry_simple.h"
12 #include "chrome/browser/prefs/pref_service.h"
13 #include "chrome/common/chrome_constants.h" 13 #include "chrome/common/chrome_constants.h"
14 #include "chrome/common/pref_names.h" 14 #include "chrome/common/pref_names.h"
15 15
16 namespace chrome { 16 namespace chrome {
17 17
18 #if defined(OS_CHROMEOS) 18 #if defined(OS_CHROMEOS)
19 // Default implementation for ports which do not have this implemented. 19 // Default implementation for ports which do not have this implemented.
20 void InitAppList(Profile* profile) {} 20 void InitAppList(Profile* profile) {}
21 #endif 21 #endif
22 22
(...skipping 19 matching lines...) Expand all
42 return user_data_dir.AppendASCII(profile_path); 42 return user_data_dir.AppendASCII(profile_path);
43 } 43 }
44 44
45 void RegisterAppListPrefs(PrefRegistrySimple* registry) { 45 void RegisterAppListPrefs(PrefRegistrySimple* registry) {
46 registry->RegisterStringPref(prefs::kAppListProfile, ""); 46 registry->RegisterStringPref(prefs::kAppListProfile, "");
47 } 47 }
48 #endif // defined(ENABLE_APP_LIST) 48 #endif // defined(ENABLE_APP_LIST)
49 49
50 50
51 } // namespace chrome 51 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_controller_browsertest.cc ('k') | chrome/browser/ui/app_list/apps_model_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698