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

Unified Diff: content/browser/memory/memory_condition_observer.cc

Issue 2731233002: memory coordinator: Remove obsoleted variation parameters (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/memory/memory_condition_observer.cc
diff --git a/content/browser/memory/memory_condition_observer.cc b/content/browser/memory/memory_condition_observer.cc
index 8c025046ced3b1211959eb4c96285cbd25af7a60..d429f077ab6f37644bb1854f29a9ad84a7d5bc74 100644
--- a/content/browser/memory/memory_condition_observer.cc
+++ b/content/browser/memory/memory_condition_observer.cc
@@ -135,23 +135,14 @@ void MemoryConditionObserver::InitializeParameters() {
static constexpr char kMemoryCoordinatorV0Trial[] = "MemoryCoordinatorV0";
std::map<std::string, std::string> params;
variations::GetVariationParams(kMemoryCoordinatorV0Trial, &params);
- // TODO(bashi): Renaming (throttled -> warning, suspended -> critical) is
- // ongoing. Get variation parameters from both until server-side change
- // is done. crbug.com/696844
SetIntVariationParameter(params, "expected_renderer_size",
&expected_renderer_size_);
- SetIntVariationParameter(params, "new_renderers_until_throttled",
- &new_renderers_until_warning_);
SetIntVariationParameter(params, "new_renderers_until_warning",
&new_renderers_until_warning_);
- SetIntVariationParameter(params, "new_renderers_until_suspended",
- &new_renderers_until_critical_);
SetIntVariationParameter(params, "new_renderers_until_critical",
&new_renderers_until_critical_);
SetIntVariationParameter(params, "new_renderers_back_to_normal",
&new_renderers_back_to_normal_);
- SetIntVariationParameter(params, "new_renderers_back_to_throttled",
- &new_renderers_back_to_warning_);
SetIntVariationParameter(params, "new_renderers_back_to_warning",
&new_renderers_back_to_warning_);
SetSecondsVariationParameter(params, "monitoring_interval",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698