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

Side by Side Diff: components/update_client/component_patcher.h

Issue 2293933003: Remove whitespace in the <ping> element closing tag in the comp updater. (Closed)
Patch Set: Remove more whitespace. Created 4 years, 3 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
« no previous file with comments | « no previous file | components/update_client/update_checker.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Component updates can be either differential updates or full updates. 5 // Component updates can be either differential updates or full updates.
6 // Full updates come in CRX format; differential updates come in CRX-style 6 // Full updates come in CRX format; differential updates come in CRX-style
7 // archives, but have a different magic number. They contain "commands.json", a 7 // archives, but have a different magic number. They contain "commands.json", a
8 // list of commands for the patcher to follow. The patcher uses these commands, 8 // list of commands for the patcher to follow. The patcher uses these commands,
9 // the other files in the archive, and the files from the existing installation 9 // the other files in the archive, and the files from the existing installation
10 // of the component to create the contents of a full update, which is then 10 // of the component to create the contents of a full update, which is then
11 // installed normally. 11 // installed normally.
12 // Component updates are specified by the 'codebasediff' attribute of an 12 // Component updates are specified by the 'codebasediff' attribute of an
13 // updatecheck response: 13 // updatecheck response:
14 // <updatecheck codebase="http://example.com/extension_1.2.3.4.crx" 14 // <updatecheck codebase="http://example.com/extension_1.2.3.4.crx"
15 // hash="12345" size="9854" status="ok" version="1.2.3.4" 15 // hash="12345" size="9854" status="ok" version="1.2.3.4"
16 // prodversionmin="2.0.143.0" 16 // prodversionmin="2.0.143.0"
17 // codebasediff="http://example.com/diff_1.2.3.4.crx" 17 // codebasediff="http://example.com/diff_1.2.3.4.crx"
18 // hashdiff="123" sizediff="101" 18 // hashdiff="123" sizediff="101"
19 // fp="1.123" /> 19 // fp="1.123"/>
20 // The component updater will attempt a differential update if it is available 20 // The component updater will attempt a differential update if it is available
21 // and allowed to, and fall back to a full update if it fails. 21 // and allowed to, and fall back to a full update if it fails.
22 // 22 //
23 // After installation (diff or full), the component updater records "fp", the 23 // After installation (diff or full), the component updater records "fp", the
24 // fingerprint of the installed files, to later identify the existing files to 24 // fingerprint of the installed files, to later identify the existing files to
25 // the server so that a proper differential update can be provided next cycle. 25 // the server so that a proper differential update can be provided next cycle.
26 26
27 #ifndef COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_H_ 27 #ifndef COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_H_
28 #define COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_H_ 28 #define COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_H_
29 29
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 base::ListValue::const_iterator next_command_; 94 base::ListValue::const_iterator next_command_;
95 scoped_refptr<DeltaUpdateOp> current_operation_; 95 scoped_refptr<DeltaUpdateOp> current_operation_;
96 scoped_refptr<base::SequencedTaskRunner> task_runner_; 96 scoped_refptr<base::SequencedTaskRunner> task_runner_;
97 97
98 DISALLOW_COPY_AND_ASSIGN(ComponentPatcher); 98 DISALLOW_COPY_AND_ASSIGN(ComponentPatcher);
99 }; 99 };
100 100
101 } // namespace update_client 101 } // namespace update_client
102 102
103 #endif // COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_H_ 103 #endif // COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_H_
OLDNEW
« no previous file with comments | « no previous file | components/update_client/update_checker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698