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.h" | 5 #include "components/update_client/action_update.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/location.h" | 12 #include "base/location.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/thread_task_runner_handle.h" | 14 #include "base/threading/thread_task_runner_handle.h" |
15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
16 #include "base/version.h" | 16 #include "base/version.h" |
17 #include "components/update_client/configurator.h" | 17 #include "components/update_client/configurator.h" |
18 #include "components/update_client/utils.h" | 18 #include "components/update_client/utils.h" |
19 | 19 |
20 using std::string; | 20 using std::string; |
21 using std::vector; | 21 using std::vector; |
22 | 22 |
23 namespace update_client { | 23 namespace update_client { |
24 | 24 |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 | 364 |
365 item->error_category = static_cast<int>(UnpackerErrorToErrorCategory(error)); | 365 item->error_category = static_cast<int>(UnpackerErrorToErrorCategory(error)); |
366 item->error_code = error; | 366 item->error_code = error; |
367 item->extra_code1 = extended_error; | 367 item->extra_code1 = extended_error; |
368 ChangeItemState(item, CrxUpdateItem::State::kNoUpdate); | 368 ChangeItemState(item, CrxUpdateItem::State::kNoUpdate); |
369 | 369 |
370 UpdateCrxComplete(item); | 370 UpdateCrxComplete(item); |
371 } | 371 } |
372 | 372 |
373 } // namespace update_client | 373 } // namespace update_client |
OLD | NEW |