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

Issue 540673002: Enable forced extension updates on NaCl arch mismatch. (Closed)

Created:
6 years, 3 months ago by Ken Rockot(use gerrit already)
Modified:
6 years, 3 months ago
Reviewers:
Yoyo Zhou
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Enable forced extension updates on NaCl arch mismatch. This causes ExtensionUpdater to scan the contents of installed extensions prior to initiating update queries. If any extensions are found with a _platform_specific directory that does NOT contain a subdirectory which corresponds to the current NaCl arch, that extension is placed into forced-update mode. An extension in forced-update mode will be treated as version 0.0.0.0 when querying the update server. BUG=409948 Committed: https://crrev.com/b864d8b8a8d837bb844f6ac2de64ad4fd0899881 Cr-Commit-Position: refs/heads/master@{#293548}

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : kill stale comment #

Total comments: 6

Patch Set 4 : le comments #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+218 lines, -49 lines) Patch
M chrome/browser/extensions/updater/extension_downloader.h View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/updater/extension_downloader.cc View 1 2 8 chunks +38 lines, -18 lines 0 comments Download
M chrome/browser/extensions/updater/extension_downloader_delegate.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/extensions/updater/extension_downloader_delegate.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/updater/extension_updater.h View 1 2 3 5 chunks +19 lines, -13 lines 0 comments Download
M chrome/browser/extensions/updater/extension_updater.cc View 1 2 3 8 chunks +101 lines, -0 lines 0 comments Download
M chrome/browser/extensions/updater/extension_updater_unittest.cc View 1 2 3 4 14 chunks +22 lines, -14 lines 0 comments Download
M chrome/browser/extensions/updater/manifest_fetch_data.h View 3 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/extensions/updater/manifest_fetch_data.cc View 2 chunks +14 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
Ken Rockot(use gerrit already)
Yoyo could you take a look at this? It's a bit different from the last ...
6 years, 3 months ago (2014-09-04 00:02:14 UTC) #3
Yoyo Zhou
https://chromiumcodereview.appspot.com/540673002/diff/20001/extensions/common/extension.h File extensions/common/extension.h (right): https://chromiumcodereview.appspot.com/540673002/diff/20001/extensions/common/extension.h#newcode356 extensions/common/extension.h:356: void SetPlatformSpecificResourceArchs(const std::set<std::string>& archs); Does this really need to ...
6 years, 3 months ago (2014-09-04 02:14:24 UTC) #4
Ken Rockot(use gerrit already)
On 2014/09/04 02:14:24, Yoyo Zhou wrote: > https://chromiumcodereview.appspot.com/540673002/diff/20001/extensions/common/extension.h > File extensions/common/extension.h (right): > > https://chromiumcodereview.appspot.com/540673002/diff/20001/extensions/common/extension.h#newcode356 ...
6 years, 3 months ago (2014-09-04 03:00:32 UTC) #5
Yoyo Zhou
On 2014/09/04 03:00:32, Ken Rockot wrote: > On 2014/09/04 02:14:24, Yoyo Zhou wrote: > > ...
6 years, 3 months ago (2014-09-04 07:39:33 UTC) #6
Ken Rockot(use gerrit already)
While this information is currently only used for update logic, it may turn out to ...
6 years, 3 months ago (2014-09-04 16:41:36 UTC) #7
chromium-reviews
We tend to keep the manifest intact as much as possible. However we also have ...
6 years, 3 months ago (2014-09-04 17:05:26 UTC) #8
Ken Rockot(use gerrit already)
Alright, how's this look? :)
6 years, 3 months ago (2014-09-04 20:24:07 UTC) #12
Yoyo Zhou
LGTM https://chromiumcodereview.appspot.com/540673002/diff/120001/chrome/browser/extensions/updater/extension_updater.cc File chrome/browser/extensions/updater/extension_updater.cc (right): https://chromiumcodereview.appspot.com/540673002/diff/120001/chrome/browser/extensions/updater/extension_updater.cc#newcode109 chrome/browser/extensions/updater/extension_updater.cc:109: const base::Callback<void(const std::set<std::string>&)>& callback) { Consider DCHECKing that ...
6 years, 3 months ago (2014-09-04 22:41:26 UTC) #13
Ken Rockot(use gerrit already)
https://codereview.chromium.org/540673002/diff/120001/chrome/browser/extensions/updater/extension_updater.cc File chrome/browser/extensions/updater/extension_updater.cc (right): https://codereview.chromium.org/540673002/diff/120001/chrome/browser/extensions/updater/extension_updater.cc#newcode109 chrome/browser/extensions/updater/extension_updater.cc:109: const base::Callback<void(const std::set<std::string>&)>& callback) { On 2014/09/04 22:41:26, Yoyo ...
6 years, 3 months ago (2014-09-05 01:41:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/540673002/140001
6 years, 3 months ago (2014-09-05 01:46:46 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu_retina_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu_retina_triggered_tests/builds/44061) linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/11185) mac_chromium_rel_swarming ...
6 years, 3 months ago (2014-09-05 05:14:41 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/540673002/160001
6 years, 3 months ago (2014-09-05 16:29:10 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:160001) as f1f26f8bc9f206da4bff4ec0f611676953ad1ae7
6 years, 3 months ago (2014-09-05 17:33:35 UTC) #23
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:40:29 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b864d8b8a8d837bb844f6ac2de64ad4fd0899881
Cr-Commit-Position: refs/heads/master@{#293548}

Powered by Google App Engine
This is Rietveld 408576698