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/cloud/cloud_policy_client.h" | 5 #include "components/policy/core/common/cloud/cloud_policy_client.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/guid.h" | 8 #include "base/guid.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
11 #include "chrome/browser/policy/cloud/device_management_service.h" | 11 #include "components/policy/core/common/cloud/device_management_service.h" |
12 #include "google_apis/gaia/gaia_constants.h" | 12 #include "google_apis/gaia/gaia_constants.h" |
13 #include "google_apis/gaia/gaia_urls.h" | 13 #include "google_apis/gaia/gaia_urls.h" |
14 #include "net/url_request/url_request_context_getter.h" | 14 #include "net/url_request/url_request_context_getter.h" |
15 | 15 |
16 namespace em = enterprise_management; | 16 namespace em = enterprise_management; |
17 | 17 |
18 namespace policy { | 18 namespace policy { |
19 | 19 |
20 namespace { | 20 namespace { |
21 | 21 |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 | 449 |
450 void CloudPolicyClient::NotifyRobotAuthCodesFetched() { | 450 void CloudPolicyClient::NotifyRobotAuthCodesFetched() { |
451 FOR_EACH_OBSERVER(Observer, observers_, OnRobotAuthCodesFetched(this)); | 451 FOR_EACH_OBSERVER(Observer, observers_, OnRobotAuthCodesFetched(this)); |
452 } | 452 } |
453 | 453 |
454 void CloudPolicyClient::NotifyClientError() { | 454 void CloudPolicyClient::NotifyClientError() { |
455 FOR_EACH_OBSERVER(Observer, observers_, OnClientError(this)); | 455 FOR_EACH_OBSERVER(Observer, observers_, OnClientError(this)); |
456 } | 456 } |
457 | 457 |
458 } // namespace policy | 458 } // namespace policy |
OLD | NEW |