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

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 chrome/browser/ui/BUILD.gn 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/command_line.h"
9 #include "base/macros.h"
10
11 class PrefRegistrySimple;
12 class PrefService;
13
14 namespace arc {
15
16 // Specifies ARC preferences.
17 class ArcPrefs {
18 public:
19 // Registers ARC related preferences.
20 static void RegisterProfilePrefs(PrefRegistrySimple* registry);
21
22 // Returns true if ARC has been enabled.
23 static bool GetEnabled(const PrefService* prefs,
24 const base::CommandLine* command_line);
25
26 // Sets kArcEnabled preference to the specified value.
27 static void SetEnabled(PrefService* prefs, bool enabled);
28
29 private:
30 DISALLOW_IMPLICIT_CONSTRUCTORS(ArcPrefs);
31 };
32
33 }; // namespace arc
34
35 #endif // COMPONENTS_ARC_ARC_PREFS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698