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

Unified Diff: chrome/browser/extensions/updater/extension_updater.cc

Issue 1630903003: Remove not needed ExtensionUpdater::default_params_ and its setter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed ExtensionUpdater::default_params_ Created 4 years, 11 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 | « chrome/browser/extensions/updater/extension_updater.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/updater/extension_updater.cc
diff --git a/chrome/browser/extensions/updater/extension_updater.cc b/chrome/browser/extensions/updater/extension_updater.cc
index 939fe69d193043fb806ff6f9334c8c0f095f560c..695e6a1612e80e48f125bfd3c5c991470d683c49 100644
--- a/chrome/browser/extensions/updater/extension_updater.cc
+++ b/chrome/browser/extensions/updater/extension_updater.cc
@@ -269,7 +269,7 @@ void ExtensionUpdater::ScheduleNextCheck(const TimeDelta& target_delay) {
void ExtensionUpdater::TimerFired() {
DCHECK(alive_);
- CheckNow(default_params_);
+ CheckNow(CheckParams());
// If the user has overridden the update frequency, don't bother reporting
// this.
@@ -321,7 +321,7 @@ void ExtensionUpdater::StopTimerForTesting() {
void ExtensionUpdater::DoCheckSoon() {
DCHECK(will_check_soon_);
- CheckNow(default_params_);
+ CheckNow(CheckParams());
will_check_soon_ = false;
}
« no previous file with comments | « chrome/browser/extensions/updater/extension_updater.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698