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

Side by Side Diff: chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc

Issue 2273783002: Move policy generated files to components/policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed headers Created 4 years, 4 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h" 5 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h"
6 6
7 #include <set> 7 #include <set>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 14 matching lines...) Expand all
25 #include "chrome/browser/chromeos/policy/wildcard_login_checker.h" 25 #include "chrome/browser/chromeos/policy/wildcard_login_checker.h"
26 #include "chrome/browser/lifetime/application_lifetime.h" 26 #include "chrome/browser/lifetime/application_lifetime.h"
27 #include "chrome/common/chrome_content_client.h" 27 #include "chrome/common/chrome_content_client.h"
28 #include "chromeos/chromeos_switches.h" 28 #include "chromeos/chromeos_switches.h"
29 #include "components/policy/core/common/cloud/cloud_external_data_manager.h" 29 #include "components/policy/core/common/cloud/cloud_external_data_manager.h"
30 #include "components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h" 30 #include "components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h"
31 #include "components/policy/core/common/cloud/device_management_service.h" 31 #include "components/policy/core/common/cloud/device_management_service.h"
32 #include "components/policy/core/common/policy_map.h" 32 #include "components/policy/core/common/policy_map.h"
33 #include "components/policy/core/common/policy_pref_names.h" 33 #include "components/policy/core/common/policy_pref_names.h"
34 #include "components/policy/core/common/policy_types.h" 34 #include "components/policy/core/common/policy_types.h"
35 #include "components/policy/policy_constants.h"
35 #include "components/user_manager/user.h" 36 #include "components/user_manager/user.h"
36 #include "components/user_manager/user_manager.h" 37 #include "components/user_manager/user_manager.h"
37 #include "net/url_request/url_request_context_getter.h" 38 #include "net/url_request/url_request_context_getter.h"
38 #include "policy/policy_constants.h"
39 #include "url/gurl.h" 39 #include "url/gurl.h"
40 40
41 namespace em = enterprise_management; 41 namespace em = enterprise_management;
42 42
43 namespace policy { 43 namespace policy {
44 44
45 namespace { 45 namespace {
46 46
47 // UMA histogram names. 47 // UMA histogram names.
48 const char kUMADelayInitialization[] = 48 const char kUMADelayInitialization[] =
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 // OnComponentCloudPolicyUpdated() once it's ready. 448 // OnComponentCloudPolicyUpdated() once it's ready.
449 return; 449 return;
450 } 450 }
451 451
452 core()->StartRefreshScheduler(); 452 core()->StartRefreshScheduler();
453 core()->TrackRefreshDelayPref(local_state_, 453 core()->TrackRefreshDelayPref(local_state_,
454 policy_prefs::kUserPolicyRefreshRate); 454 policy_prefs::kUserPolicyRefreshRate);
455 } 455 }
456 456
457 } // namespace policy 457 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698