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

Side by Side Diff: components/arc/arc_prefs.h

Issue 1412863004: arc-bridge: Add the ARC Bridge Service (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Fixed the CHROMEOS_EXPORT include Created 5 years, 1 month 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
(Empty)
1 // Copyright 2015 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 #ifndef COMPONENTS_ARC_ARC_PREFS_H_
6 #define COMPONENTS_ARC_ARC_PREFS_H_
7
8 #include "base/macros.h"
9
10 class PrefRegistrySimple;
11 class PrefService;
12
13 namespace arc {
14
15 // Specifies ARC preferences.
16 class ArcPrefs {
17 public:
18 // Registers ARC related preferences.
19 static void RegisterProfilePrefs(PrefRegistrySimple* registry);
20
21 // Returns true if ARC has been enabled.
22 static bool GetEnabled(const PrefService* prefs);
23
24 // Sets kArcEnabled preference to the specified value.
25 static void SetEnabled(PrefService* prefs, bool enabled);
26
27 private:
28 DISALLOW_IMPLICIT_CONSTRUCTORS(ArcPrefs);
29 };
30
31 }; // namespace arc
32
33 #endif // COMPONENTS_ARC_ARC_PREFS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698