OLD | NEW |
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/policy/user_cloud_policy_manager_chromeos.h" | 5 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "chrome/browser/policy/cloud_policy_service.h" | 9 #include "chrome/browser/policy/cloud/cloud_policy_service.h" |
10 #include "chrome/common/pref_names.h" | 10 #include "chrome/common/pref_names.h" |
11 | 11 |
12 namespace em = enterprise_management; | 12 namespace em = enterprise_management; |
13 | 13 |
14 namespace policy { | 14 namespace policy { |
15 | 15 |
16 UserCloudPolicyManagerChromeOS::UserCloudPolicyManagerChromeOS( | 16 UserCloudPolicyManagerChromeOS::UserCloudPolicyManagerChromeOS( |
17 scoped_ptr<CloudPolicyStore> store, | 17 scoped_ptr<CloudPolicyStore> store, |
18 bool wait_for_policy_fetch) | 18 bool wait_for_policy_fetch) |
19 : CloudPolicyManager( | 19 : CloudPolicyManager( |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 DCHECK_EQ(client(), cloud_policy_client); | 124 DCHECK_EQ(client(), cloud_policy_client); |
125 CancelWaitForPolicyFetch(); | 125 CancelWaitForPolicyFetch(); |
126 } | 126 } |
127 | 127 |
128 void UserCloudPolicyManagerChromeOS::OnInitialPolicyFetchComplete( | 128 void UserCloudPolicyManagerChromeOS::OnInitialPolicyFetchComplete( |
129 bool success) { | 129 bool success) { |
130 CancelWaitForPolicyFetch(); | 130 CancelWaitForPolicyFetch(); |
131 } | 131 } |
132 | 132 |
133 } // namespace policy | 133 } // namespace policy |
OLD | NEW |