summaryrefslogtreecommitdiffstats
path: root/chrome/browser/component_updater/npapi_flash_component_installer.cc
diff options
context:
space:
mode:
authortedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-04 02:10:33 +0000
committertedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-04 02:10:33 +0000
commit73251e7180c5c9359ad628ac6d0b8155f06c7e54 (patch)
treeaf9465421cff1dc5775612b3026d38ae79faa80f /chrome/browser/component_updater/npapi_flash_component_installer.cc
parentc5eda9e1d45dad06bb41f175bd082132e0818c47 (diff)
downloadchromium_src-73251e7180c5c9359ad628ac6d0b8155f06c7e54.zip
chromium_src-73251e7180c5c9359ad628ac6d0b8155f06c7e54.tar.gz
chromium_src-73251e7180c5c9359ad628ac6d0b8155f06c7e54.tar.bz2
Convert uses of int ms to TimeDelta in component updater.
R=cpu@chromium.org BUG=108171 Review URL: http://codereview.chromium.org/9580037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124884 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/component_updater/npapi_flash_component_installer.cc')
-rw-r--r--chrome/browser/component_updater/npapi_flash_component_installer.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/browser/component_updater/npapi_flash_component_installer.cc b/chrome/browser/component_updater/npapi_flash_component_installer.cc
index 7baffbd..a475ce8 100644
--- a/chrome/browser/component_updater/npapi_flash_component_installer.cc
+++ b/chrome/browser/component_updater/npapi_flash_component_installer.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -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
}