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

Unified Diff: content/ppapi_plugin/plugin_process_dispatcher.cc

Issue 9233018: Convert use of int ms to TimeDelta in files owned by brettw. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase onto master. Created 8 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 | « content/ppapi_plugin/broker_process_dispatcher.cc ('k') | content/renderer/load_progress_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/ppapi_plugin/plugin_process_dispatcher.cc
diff --git a/content/ppapi_plugin/plugin_process_dispatcher.cc b/content/ppapi_plugin/plugin_process_dispatcher.cc
index 1ac23d14795e783679d3ffc559d74fe5d0252411..e1460cc5b19ab4d945b0b2d0789d9e1a524b1fdc 100644
--- a/content/ppapi_plugin/plugin_process_dispatcher.cc
+++ b/content/ppapi_plugin/plugin_process_dispatcher.cc
@@ -11,7 +11,7 @@
namespace {
// How long we wait before releasing the plugin process.
-const int kPluginReleaseTimeMs = 30 * 1000; // 30 seconds.
+const int kPluginReleaseTimeSeconds = 30;
} // namespace
@@ -32,5 +32,5 @@ PluginProcessDispatcher::~PluginProcessDispatcher() {
FROM_HERE,
base::Bind(&ChildProcess::ReleaseProcess,
base::Unretained(ChildProcess::current())),
- kPluginReleaseTimeMs);
+ base::TimeDelta::FromSeconds(kPluginReleaseTimeSeconds));
}
« no previous file with comments | « content/ppapi_plugin/broker_process_dispatcher.cc ('k') | content/renderer/load_progress_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698