OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/update_client/update_checker.h" | 5 #include "components/update_client/update_checker.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <string> | 9 #include <string> |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/bind.h" | 12 #include "base/bind.h" |
11 #include "base/bind_helpers.h" | 13 #include "base/bind_helpers.h" |
12 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
13 #include "base/location.h" | 15 #include "base/location.h" |
14 #include "base/logging.h" | 16 #include "base/logging.h" |
15 #include "base/macros.h" | 17 #include "base/macros.h" |
16 #include "base/memory/scoped_ptr.h" | 18 #include "base/memory/scoped_ptr.h" |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 error_message, update_response.results())); | 166 error_message, update_response.results())); |
165 } | 167 } |
166 | 168 |
167 } // namespace | 169 } // namespace |
168 | 170 |
169 scoped_ptr<UpdateChecker> UpdateChecker::Create(const Configurator& config) { | 171 scoped_ptr<UpdateChecker> UpdateChecker::Create(const Configurator& config) { |
170 return scoped_ptr<UpdateChecker>(new UpdateCheckerImpl(config)); | 172 return scoped_ptr<UpdateChecker>(new UpdateCheckerImpl(config)); |
171 } | 173 } |
172 | 174 |
173 } // namespace update_client | 175 } // namespace update_client |
OLD | NEW |