blob: 93cc9ad051ff5758c32408094ec6476a538d1ae3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright (c) 2012 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 CHROME_BROWSER_MANAGED_MODE_H_
#define CHROME_BROWSER_MANAGED_MODE_H_
class PrefService;
class ManagedMode {
public:
static void RegisterPrefs(PrefService* prefs);
static bool IsInManagedMode();
// Returns true iff managed mode was entered sucessfully.
static bool EnterManagedMode();
static void LeaveManagedMode();
private:
static void SetInManagedMode(bool in_managed_mode);
};
#endif // CHROME_BROWSER_MANAGED_MODE_H_
|