Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(892)

Side by Side Diff: components/update_client/update_client.cc

Issue 879993005: Add support for uninstalling components and use it in SupervisedUserWhitelistInstaller. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: fix Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698