Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / browser / chromeos / extensions / users_private / users_private_delegate.cc
blob043da8c2558cee6d925761561a1ac98220f89e3c
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.
5 #include "chrome/browser/chromeos/extensions/users_private/users_private_delegate.h"
7 #include "chrome/browser/profiles/profile.h"
8 #include "extensions/browser/extension_registry.h"
9 #include "extensions/common/extension.h"
11 namespace extensions {
13 namespace users_private = api::users_private;
15 UsersPrivateDelegate::UsersPrivateDelegate(Profile* profile)
16 : profile_(profile) {
19 UsersPrivateDelegate::~UsersPrivateDelegate() {
22 PrefsUtil* UsersPrivateDelegate::GetPrefsUtil() {
23 if (!prefs_util_)
24 prefs_util_.reset(new PrefsUtil(profile_));
26 return prefs_util_.get();
29 } // namespace extensions