diff options
author | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-16 01:46:26 +0000 |
---|---|---|
committer | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-16 01:46:26 +0000 |
commit | 14b95f1e35ee10b56b0ec6b88d2f563d5c14e99b (patch) | |
tree | bf18cab4afa4013ece3600c10daadaeb62428291 /content/ppapi_plugin | |
parent | 24469df740672071da7cb0a44386fff9d9cacb7f (diff) | |
download | chromium_src-14b95f1e35ee10b56b0ec6b88d2f563d5c14e99b.zip chromium_src-14b95f1e35ee10b56b0ec6b88d2f563d5c14e99b.tar.gz chromium_src-14b95f1e35ee10b56b0ec6b88d2f563d5c14e99b.tar.bz2 |
Convert use of int ms to TimeDelta in files owned by brettw.
R=brettw@chromium.org
BUG=108171
TEST=
Review URL: http://codereview.chromium.org/9185026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117824 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/ppapi_plugin')
-rw-r--r-- | content/ppapi_plugin/broker_process_dispatcher.cc | 6 | ||||
-rw-r--r-- | content/ppapi_plugin/plugin_process_dispatcher.cc | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/content/ppapi_plugin/broker_process_dispatcher.cc b/content/ppapi_plugin/broker_process_dispatcher.cc index 6fce803..7cdc0e34 100644 --- a/content/ppapi_plugin/broker_process_dispatcher.cc +++ b/content/ppapi_plugin/broker_process_dispatcher.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. @@ -11,7 +11,7 @@ namespace { // How long we wait before releasing the broker process. -const int kBrokerReleaseTimeMs = 30 * 1000; // 30 seconds. +const int kBrokerReleaseTimeSeconds = 30; } // namespace @@ -34,5 +34,5 @@ BrokerProcessDispatcher::~BrokerProcessDispatcher() { FROM_HERE, base::Bind(&ChildProcess::ReleaseProcess, base::Unretained(ChildProcess::current())), - kBrokerReleaseTimeMs); + base::TimeDelta::FromSeconds(kBrokerReleaseTimeSeconds)); } diff --git a/content/ppapi_plugin/plugin_process_dispatcher.cc b/content/ppapi_plugin/plugin_process_dispatcher.cc index 1ac23d1..5d33e12 100644 --- a/content/ppapi_plugin/plugin_process_dispatcher.cc +++ b/content/ppapi_plugin/plugin_process_dispatcher.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. @@ -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)); } |