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

Issue 2146963004: Adding the creation flags back to pending extension info. (Closed)

Created:
4 years, 5 months ago by mamir
Modified:
4 years, 5 months ago
Reviewers:
Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding the creation_flags back to pending_extension_info. Add a unit test to cover the case when an external extension is updated before being installed and make sure it retains the creation flags. BUG=627522 Committed: https://crrev.com/0128d5a9b0a402cd85aa0ef409c73f3ad1df548c Cr-Commit-Position: refs/heads/master@{#405856}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix is verified! #

Patch Set 3 : Add a test to update extension with flag before installtion #

Total comments: 2

Patch Set 4 : Minor comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -2 lines) Patch
M chrome/browser/extensions/extension_service.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 2 chunks +31 lines, -0 lines 0 comments Download
M chrome/browser/extensions/pending_extension_info.h View 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/pending_extension_info.cc View 1 4 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/extensions/pending_extension_manager.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/pending_extension_manager.cc View 6 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/updater/extension_updater_unittest.cc View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
mamir
4 years, 5 months ago (2016-07-14 11:58:15 UTC) #3
Devlin
We should definitely add a test for this, so that we don't regress again. Additionally, ...
4 years, 5 months ago (2016-07-14 15:02:39 UTC) #4
mamir
https://codereview.chromium.org/2146963004/diff/1/chrome/browser/extensions/pending_extension_info.cc File chrome/browser/extensions/pending_extension_info.cc (right): https://codereview.chromium.org/2146963004/diff/1/chrome/browser/extensions/pending_extension_info.cc#newcode39 chrome/browser/extensions/pending_extension_info.cc:39: creation_flags_(0), On 2016/07/14 15:02:39, Devlin wrote: > nit: prefer ...
4 years, 5 months ago (2016-07-15 18:58:14 UTC) #6
Devlin
Fantastic, great job on the test! LGTM https://codereview.chromium.org/2146963004/diff/40001/chrome/browser/extensions/extension_service_unittest.cc File chrome/browser/extensions/extension_service_unittest.cc (right): https://codereview.chromium.org/2146963004/diff/40001/chrome/browser/extensions/extension_service_unittest.cc#newcode4185 chrome/browser/extensions/extension_service_unittest.cc:4185: TEST_F(ExtensionServiceTest, UpdatingPendingExternalExtensionWithFlags) ...
4 years, 5 months ago (2016-07-15 19:02:40 UTC) #7
mamir
Thank you Devlin for your help during this. https://codereview.chromium.org/2146963004/diff/40001/chrome/browser/extensions/extension_service_unittest.cc File chrome/browser/extensions/extension_service_unittest.cc (right): https://codereview.chromium.org/2146963004/diff/40001/chrome/browser/extensions/extension_service_unittest.cc#newcode4185 chrome/browser/extensions/extension_service_unittest.cc:4185: TEST_F(ExtensionServiceTest, ...
4 years, 5 months ago (2016-07-15 19:06:20 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2146963004/60001
4 years, 5 months ago (2016-07-15 19:07:31 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/246015)
4 years, 5 months ago (2016-07-15 20:08:43 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2146963004/60001
4 years, 5 months ago (2016-07-15 20:20:57 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-15 20:56:02 UTC) #17
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-15 20:56:10 UTC) #18
commit-bot: I haz the power
4 years, 5 months ago (2016-07-15 20:59:00 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0128d5a9b0a402cd85aa0ef409c73f3ad1df548c
Cr-Commit-Position: refs/heads/master@{#405856}

Powered by Google App Engine
This is Rietveld 408576698