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

Side by Side Diff: apps/prefs.cc

Issue 12095052: Move app_launcher.* out of chrome/browser/extensions and into apps/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Beserk Q. More rebase 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
« no previous file with comments | « apps/prefs.h ('k') | chrome/browser/extensions/api/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "apps/prefs.h"
6
7 #include "apps/app_launcher.h"
8 #include "apps/pref_names.h"
9 #include "base/prefs/pref_registry_simple.h"
10
11 namespace apps {
12
13 void RegisterPrefs(PrefRegistrySimple* registry) {
14 // This pref is a cache of the value from the registry the last time it was
15 // checked.
16 //
17 // During the pref initialization, if it is impossible to synchronously
18 // determine whether the app launcher is enabled, assume it is disabled.
19 // Anything that needs to know the absolute truth should call
20 // GetIsAppLauncherEnabled().
21 registry->RegisterBooleanPref(prefs::kAppLauncherIsEnabled,
22 MaybeIsAppLauncherEnabled());
23 }
24
25 } // namespace apps
OLDNEW
« no previous file with comments | « apps/prefs.h ('k') | chrome/browser/extensions/api/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698