Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: chrome/browser/policy/configuration_policy_provider_win.cc

Issue 10491013: Implement the windows policy provider based on the AsyncPolicyLoader. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressed comment Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2012 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.
4
5 #include "chrome/browser/policy/configuration_policy_provider_win.h"
6
7 #include "chrome/browser/policy/configuration_policy_loader_win.h"
8 #include "chrome/browser/policy/configuration_policy_provider_delegate_win.h"
9
10 namespace policy {
11
12 namespace {
13
14 // Period at which to run the reload task in case the group policy change
15 // watchers fail.
16 const int kReloadIntervalMinutes = 15;
17
18 } // namespace
19
20 ConfigurationPolicyProviderWin::ConfigurationPolicyProviderWin(
21 const PolicyDefinitionList* policy_list)
22 : AsynchronousPolicyProvider(
23 policy_list,
24 new ConfigurationPolicyLoaderWin(
25 new ConfigurationPolicyProviderDelegateWin(policy_list),
26 kReloadIntervalMinutes)) {}
27
28 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/configuration_policy_provider_win.h ('k') | chrome/browser/policy/policy_loader_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698