Fix UnlockEndpointIsDelayed again.
[chromium-blink-merge.git] / components / update_client / update_client.cc
blobb7fff2b5384b8395b16d3efe699935dcb3f2b6fd
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
3 // found in the LICENSE file.
5 #include "components/update_client/update_client.h"
7 #include "components/update_client/crx_update_item.h"
9 namespace update_client {
11 CrxUpdateItem::CrxUpdateItem()
12 : status(kNew),
13 on_demand(false),
14 diff_update_failed(false),
15 error_category(0),
16 error_code(0),
17 extra_code1(0),
18 diff_error_category(0),
19 diff_error_code(0),
20 diff_extra_code1(0) {
23 CrxUpdateItem::~CrxUpdateItem() {
26 CrxComponent::CrxComponent()
27 : installer(NULL), allow_background_download(true) {
30 CrxComponent::~CrxComponent() {
33 } // namespace update_client