blob: 32cc60a9cbc5c86083549c039036fd08eae0e7bc [file] [log] [blame]
// Copyright 2018 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 CHROMECAST_BROWSER_EXTENSIONS_CAST_PREFS_H_
#define CHROMECAST_BROWSER_EXTENSIONS_CAST_PREFS_H_
#include <memory>
class PrefService;
namespace content {
class BrowserContext;
}
namespace extensions {
// Support for preference initialization and management.
namespace cast_prefs {
// Creates a pref service that loads user preferences for |browser_context|.
std::unique_ptr<PrefService> CreateUserPrefService(
content::BrowserContext* browser_context);
} // namespace cast_prefs
} // namespace extensions
#endif // CHROMECAST_BROWSER_EXTENSIONS_CAST_PREFS_H_