| Index: components/arc/arc_prefs.h
|
| diff --git a/components/arc/arc_prefs.h b/components/arc/arc_prefs.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f8890acc602eca9c4d2fd6c2de6d15fb6b4bdb4f
|
| --- /dev/null
|
| +++ b/components/arc/arc_prefs.h
|
| @@ -0,0 +1,33 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef COMPONENTS_ARC_ARC_PREFS_H_
|
| +#define COMPONENTS_ARC_ARC_PREFS_H_
|
| +
|
| +#include "base/macros.h"
|
| +
|
| +class PrefRegistrySimple;
|
| +class PrefService;
|
| +
|
| +namespace arc {
|
| +
|
| +// Specifies ARC preferences.
|
| +class ArcPrefs {
|
| + public:
|
| + // Registers ARC related preferences.
|
| + static void RegisterProfilePrefs(PrefRegistrySimple* registry);
|
| +
|
| + // Returns true if ARC has been enabled.
|
| + static bool GetEnabled(const PrefService* prefs);
|
| +
|
| + // Sets kArcEnabled preference to the specified value.
|
| + static void SetEnabled(PrefService* prefs, bool enabled);
|
| +
|
| + private:
|
| + DISALLOW_IMPLICIT_CONSTRUCTORS(ArcPrefs);
|
| +};
|
| +
|
| +}; // namespace arc
|
| +
|
| +#endif // COMPONENTS_ARC_ARC_PREFS_H_
|
|
|