summaryrefslogtreecommitdiffstats
path: root/extensions/shell/browser/shell_prefs.h
blob: c81a0171bbcc8c973d16f3371b2e758c5b54f259 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright 2014 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 EXTENSIONS_SHELL_BROWSER_SHELL_PREFS_H_
#define EXTENSIONS_SHELL_BROWSER_SHELL_PREFS_H_

#include "base/macros.h"
#include "base/memory/scoped_ptr.h"

class PrefService;

namespace content {
class BrowserContext;
}

namespace extensions {

// Support for PrefService initialization and management.
class ShellPrefs {
 public:
  // Creates a pref service that loads user prefs.
  static scoped_ptr<PrefService> CreatePrefService(
      content::BrowserContext* browser_context);

 private:
  DISALLOW_IMPLICIT_CONSTRUCTORS(ShellPrefs);
};

}  // namespace extensions

#endif  // EXTENSIONS_SHELL_BROWSER_SHELL_PREFS_H_