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

Unified Diff: trunk/src/chrome/common/extensions/update_manifest.h

Issue 17551004: Revert 207805 "Differential updates for components. We are addin..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/chrome/common/chrome_switches.cc ('k') | trunk/src/chrome/common/extensions/update_manifest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/common/extensions/update_manifest.h
===================================================================
--- trunk/src/chrome/common/extensions/update_manifest.h (revision 207822)
+++ trunk/src/chrome/common/extensions/update_manifest.h (working copy)
@@ -15,16 +15,13 @@
// An update manifest looks like this:
//
- // <?xml version="1.0" encoding="UTF-8"?>
- // <gupdate xmlns="http://www.google.com/update2/response" protocol="2.0">
- // <daystart elapsed_seconds="300" />
- // <app appid="12345" status="ok">
- // <updatecheck codebase="http://example.com/extension_1.2.3.4.crx"
- // hash="12345" size="9854" status="ok" version="1.2.3.4"
- // prodversionmin="2.0.143.0"
- // codebasediff="http://example.com/diff_1.2.3.4.crx"
- // hashdiff="123" sizediff="101"
- // fp="1.123" />
+ // <?xml version='1.0' encoding='UTF-8'?>
+ // <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
+ // <daystart elapsed_seconds='300' />
+ // <app appid='12345'>
+ // <updatecheck codebase='http://example.com/extension_1.2.3.4.crx'
+ // version='1.2.3.4' prodversionmin='2.0.143.0'
+ // hash="12345"/>
// </app>
// </gupdate>
//
@@ -36,9 +33,6 @@
// fetch the updated crx file, and the "prodversionmin" attribute refers to
// the minimum version of the chrome browser that the update applies to.
- // The diff data members correspond to the differential update package, if
- // a differential update is specified in the response.
-
// The result of parsing one <app> tag in an xml update check manifest.
struct Result {
Result();
@@ -47,17 +41,8 @@
std::string extension_id;
std::string version;
std::string browser_min_version;
-
- // Attributes for the full update.
- GURL crx_url;
std::string package_hash;
- int size;
- std::string package_fingerprint;
-
- // Attributes for the differential update.
- GURL diff_crx_url;
- std::string diff_package_hash;
- int diff_size;
+ GURL crx_url;
};
static const int kNoDaystart = -1;
« no previous file with comments | « trunk/src/chrome/common/chrome_switches.cc ('k') | trunk/src/chrome/common/extensions/update_manifest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698