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> | 7 #include <stddef.h> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/bind_helpers.h" | 11 #include "base/bind_helpers.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/location.h" | 13 #include "base/location.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
16 #include "base/thread_task_runner_handle.h" | 16 #include "base/threading/thread_task_runner_handle.h" |
17 #include "base/version.h" | 17 #include "base/version.h" |
18 #include "components/update_client/action_update.h" | 18 #include "components/update_client/action_update.h" |
19 #include "components/update_client/configurator.h" | 19 #include "components/update_client/configurator.h" |
20 #include "components/update_client/update_checker.h" | 20 #include "components/update_client/update_checker.h" |
21 #include "components/update_client/update_client.h" | 21 #include "components/update_client/update_client.h" |
22 #include "components/update_client/utils.h" | 22 #include "components/update_client/utils.h" |
23 | 23 |
24 using std::string; | 24 using std::string; |
25 using std::vector; | 25 using std::vector; |
26 | 26 |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 | 203 |
204 VLOG(1) << "Update check failed." << error; | 204 VLOG(1) << "Update check failed." << error; |
205 | 205 |
206 ChangeAllItemsState(CrxUpdateItem::State::kChecking, | 206 ChangeAllItemsState(CrxUpdateItem::State::kChecking, |
207 CrxUpdateItem::State::kNoUpdate); | 207 CrxUpdateItem::State::kNoUpdate); |
208 | 208 |
209 UpdateComplete(error); | 209 UpdateComplete(error); |
210 } | 210 } |
211 | 211 |
212 } // namespace update_client | 212 } // namespace update_client |
OLD | NEW |