OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/action_update_check.h" | 5 #include "components/update_client/action_update_check.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
9 #include "base/callback.h" | 11 #include "base/callback.h" |
10 #include "base/location.h" | 12 #include "base/location.h" |
11 #include "base/logging.h" | 13 #include "base/logging.h" |
12 #include "base/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
13 #include "base/thread_task_runner_handle.h" | 15 #include "base/thread_task_runner_handle.h" |
14 #include "base/version.h" | 16 #include "base/version.h" |
15 #include "components/update_client/action_update.h" | 17 #include "components/update_client/action_update.h" |
16 #include "components/update_client/configurator.h" | 18 #include "components/update_client/configurator.h" |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 | 202 |
201 VLOG(1) << "Update check failed." << error; | 203 VLOG(1) << "Update check failed." << error; |
202 | 204 |
203 ChangeAllItemsState(CrxUpdateItem::State::kChecking, | 205 ChangeAllItemsState(CrxUpdateItem::State::kChecking, |
204 CrxUpdateItem::State::kNoUpdate); | 206 CrxUpdateItem::State::kNoUpdate); |
205 | 207 |
206 UpdateComplete(error); | 208 UpdateComplete(error); |
207 } | 209 } |
208 | 210 |
209 } // namespace update_client | 211 } // namespace update_client |
OLD | NEW |