| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "components/policy/core/common/cloud/policy_header_service.h" | 5 #include "components/policy/core/common/cloud/policy_header_service.h" |
| 6 | 6 |
| 7 #include "base/base64.h" | 7 #include "base/base64.h" |
| 8 #include "base/json/json_writer.h" | 8 #include "base/json/json_writer.h" |
| 9 #include "base/values.h" | 9 #include "base/values.h" |
| 10 #include "components/policy/core/common/cloud/cloud_policy_store.h" | 10 #include "components/policy/core/common/cloud/cloud_policy_store.h" |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 helpers_.begin(); it != helpers_.end(); ++it) { | 91 helpers_.begin(); it != helpers_.end(); ++it) { |
| 92 (*it)->UpdateHeader(new_header); | 92 (*it)->UpdateHeader(new_header); |
| 93 } | 93 } |
| 94 } | 94 } |
| 95 } | 95 } |
| 96 | 96 |
| 97 void PolicyHeaderService::OnStoreError(CloudPolicyStore* store) { | 97 void PolicyHeaderService::OnStoreError(CloudPolicyStore* store) { |
| 98 // Do nothing on errors. | 98 // Do nothing on errors. |
| 99 } | 99 } |
| 100 | 100 |
| 101 std::vector<PolicyHeaderIOHelper*> PolicyHeaderService::GetHelpersForTest() { |
| 102 return helpers_; |
| 103 } |
| 104 |
| 101 } // namespace policy | 105 } // namespace policy |
| OLD | NEW |