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

Issue 1630903003: Remove not needed ExtensionUpdater::default_params_ and its setter. (Closed)

Created:
4 years, 11 months ago by lazyboy
Modified:
4 years, 11 months ago
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

Remove not needed ExtensionUpdater::default_params_ and its setter. I was going to rename set_default_check_params() to set_default_check_params_for_testing(), but then realized we don't need this at all. Then asargent@ pointed out that we don't even need the member default_params_ in ExtensionUpdater. One use of this was to specify check_blacklist (http://crrev.com/11339047), however, later this was removed (http://crrev.com/23591050), but the code stayed around. Cleaning this up to remove confusion. BUG=None Test=unit_tests and browser_tests compiles under ChromeOS. Committed: https://crrev.com/8fca7c925095e31450795e601fe5495874fe2212 Cr-Commit-Position: refs/heads/master@{#371524}

Patch Set 1 #

Total comments: 2

Patch Set 2 : removed ExtensionUpdater::default_params_ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -18 lines) Patch
M chrome/browser/extensions/api/management/management_browsertest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_disabled_ui_browsertest.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/extensions/updater/extension_updater.h View 1 2 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/extensions/updater/extension_updater.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
lazyboy
4 years, 11 months ago (2016-01-25 22:57:44 UTC) #4
asargent_no_longer_on_chrome
great catch, lgtm with one suggestion https://chromiumcodereview.appspot.com/1630903003/diff/1/chrome/browser/extensions/updater/extension_updater.h File chrome/browser/extensions/updater/extension_updater.h (left): https://chromiumcodereview.appspot.com/1630903003/diff/1/chrome/browser/extensions/updater/extension_updater.h#oldcode125 chrome/browser/extensions/updater/extension_updater.h:125: default_params_ = params; ...
4 years, 11 months ago (2016-01-25 23:11:16 UTC) #5
lazyboy
https://chromiumcodereview.appspot.com/1630903003/diff/1/chrome/browser/extensions/updater/extension_updater.h File chrome/browser/extensions/updater/extension_updater.h (left): https://chromiumcodereview.appspot.com/1630903003/diff/1/chrome/browser/extensions/updater/extension_updater.h#oldcode125 chrome/browser/extensions/updater/extension_updater.h:125: default_params_ = params; On 2016/01/25 23:11:16, Antony Sargent wrote: ...
4 years, 11 months ago (2016-01-25 23:46:58 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1630903003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1630903003/20001
4 years, 11 months ago (2016-01-26 16:20:42 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-26 16:58:48 UTC) #12
commit-bot: I haz the power
4 years, 11 months ago (2016-01-26 17:00:07 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8fca7c925095e31450795e601fe5495874fe2212
Cr-Commit-Position: refs/heads/master@{#371524}

Powered by Google App Engine
This is Rietveld 408576698