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_client.h" | 5 #include "components/update_client/update_client.h" |
6 | 6 |
7 #include "components/update_client/crx_update_item.h" | 7 #include "components/update_client/crx_update_item.h" |
8 | 8 |
9 namespace update_client { | 9 namespace update_client { |
10 | 10 |
11 CrxUpdateItem::CrxUpdateItem() | 11 CrxUpdateItem::CrxUpdateItem() |
12 : status(kNew), | 12 : status(kNew), |
| 13 unregistered(false), |
13 on_demand(false), | 14 on_demand(false), |
14 diff_update_failed(false), | 15 diff_update_failed(false), |
15 error_category(0), | 16 error_category(0), |
16 error_code(0), | 17 error_code(0), |
17 extra_code1(0), | 18 extra_code1(0), |
18 diff_error_category(0), | 19 diff_error_category(0), |
19 diff_error_code(0), | 20 diff_error_code(0), |
20 diff_extra_code1(0) { | 21 diff_extra_code1(0) { |
21 } | 22 } |
22 | 23 |
23 CrxUpdateItem::~CrxUpdateItem() { | 24 CrxUpdateItem::~CrxUpdateItem() { |
24 } | 25 } |
25 | 26 |
26 CrxComponent::CrxComponent() | 27 CrxComponent::CrxComponent() : allow_background_download(true) { |
27 : installer(NULL), allow_background_download(true) { | |
28 } | 28 } |
29 | 29 |
30 CrxComponent::~CrxComponent() { | 30 CrxComponent::~CrxComponent() { |
31 } | 31 } |
32 | 32 |
33 } // namespace update_client | 33 } // namespace update_client |
OLD | NEW |