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

Unified Diff: chrome/browser/component_updater/npapi_flash_component_installer.cc

Issue 9580037: Convert uses of int ms to TimeDelta in component updater. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 10 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
Index: chrome/browser/component_updater/npapi_flash_component_installer.cc
diff --git a/chrome/browser/component_updater/npapi_flash_component_installer.cc b/chrome/browser/component_updater/npapi_flash_component_installer.cc
index 7baffbde5ddbfa46a16ffaf7958893eda8672c29..43a4060d95605e4816711689cad908ea5e3a1f30 100644
--- a/chrome/browser/component_updater/npapi_flash_component_installer.cc
+++ b/chrome/browser/component_updater/npapi_flash_component_installer.cc
@@ -212,10 +212,12 @@ void RegisterNPAPIFlashComponent(ComponentUpdateService* cus) {
// Post the task to the FILE thread because IO may be done once the plugins
// are loaded.
- BrowserThread::PostDelayedTask(BrowserThread::FILE, FROM_HERE,
+ BrowserThread::PostDelayedTask(
+ BrowserThread::FILE,
+ FROM_HERE,
base::Bind(&PluginService::GetPlugins,
base::Unretained(PluginService::GetInstance()),
base::Bind(&StartFlashUpdateRegistration, cus)),
- 8000);
+ base::TimeDelta::FromSeconds(8));
#endif
}

Powered by Google App Engine
This is Rietveld 408576698