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

Unified Diff: telemetry/telemetry/page/cache_temperature.py

Issue 3016563002: Rename 'warmCache' to 'warm_cache' (Closed)
Patch Set: do not remove ensure_diskcache Created 3 years, 3 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 | telemetry/telemetry/page/cache_temperature_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/page/cache_temperature.py
diff --git a/telemetry/telemetry/page/cache_temperature.py b/telemetry/telemetry/page/cache_temperature.py
index 093a388b957e28dcddf5b11648179e8ff91f4522..1b134bf37d034278c96a2889b9df2bf6d5cd00ed 100644
--- a/telemetry/telemetry/page/cache_temperature.py
+++ b/telemetry/telemetry/page/cache_temperature.py
@@ -67,7 +67,6 @@ def EnsurePageCacheTemperature(page, browser, previous_page=None):
tab = browser.tabs[0]
tab.Navigate("http://does.not.exist")
tab.WaitForDocumentReadyStateToBeComplete()
-
any_tab = browser.tabs[0]
any_tab.ClearCache(force=True)
elif temperature == WARM:
@@ -86,7 +85,7 @@ def EnsurePageCacheTemperature(page, browser, previous_page=None):
tab.WaitForDocumentReadyStateToBeComplete()
return
- with MarkTelemetryInternal(browser, 'warmCache'):
+ with MarkTelemetryInternal(browser, 'warm_cache'):
tab = browser.tabs[0]
tab.Navigate(page.url)
py_utils.WaitFor(tab.HasReachedQuiescence, 60)
« no previous file with comments | « no previous file | telemetry/telemetry/page/cache_temperature_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698