diff options
author | asargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-28 05:58:05 +0000 |
---|---|---|
committer | asargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-28 05:58:05 +0000 |
commit | 5ef47ec0d8278b6ff2c663299a41fa28e474a896 (patch) | |
tree | d2308c829db73df9db6306a90ab5c363a35fe190 /chrome/browser/utility_process_host.h | |
parent | fb40ec7a037ca4da04eb2d3eafe418bd18df59a1 (diff) | |
download | chromium_src-5ef47ec0d8278b6ff2c663299a41fa28e474a896.zip chromium_src-5ef47ec0d8278b6ff2c663299a41fa28e474a896.tar.gz chromium_src-5ef47ec0d8278b6ff2c663299a41fa28e474a896.tar.bz2 |
Refactor extension autoupdater.
This includes two changes:
1) Stop sending the Omaha UID to the gallery in favor of a "ping" parameter
included at most once per day in a update manifest fetch, indicating the
number of days since the last time we sent the ping parameter. The calculation
of this parameter is based on the offset from now to a value in the *previous*
response from the server where it indicated it's notion of when that day had
started.
2) Batch update manifest requests for extensions with the same update url. The
server and protocol have supported this for a while but this is the first time
we've added support in the client.
BUG=b/2367191
TEST=Extension updates should still work normally.
Review URL: http://codereview.chromium.org/558005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37383 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/utility_process_host.h')
-rw-r--r-- | chrome/browser/utility_process_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/utility_process_host.h b/chrome/browser/utility_process_host.h index 69fb270..3b5d58f 100644 --- a/chrome/browser/utility_process_host.h +++ b/chrome/browser/utility_process_host.h @@ -57,7 +57,7 @@ class UtilityProcessHost : public ChildProcessHost { // Called when an update manifest xml file was successfully parsed. virtual void OnParseUpdateManifestSucceeded( - const UpdateManifest::ResultList& list) {} + const UpdateManifest::Results& results) {} // Called when an update manifest xml file failed parsing. |error_message| // contains details suitable for logging. |