summaryrefslogtreecommitdiffstats
path: root/net/curvecp/client_packetizer.h
diff options
context:
space:
mode:
authortedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-08 20:58:42 +0000
committertedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-08 20:58:42 +0000
commit7e56010853309e90693023fe9f0c5a1c086840dc (patch)
tree1e07263b561a17907332086e5f079f5e956f5df6 /net/curvecp/client_packetizer.h
parent28632b2da6dca24e62a95d934b0ae8d866c7f65c (diff)
downloadchromium_src-7e56010853309e90693023fe9f0c5a1c086840dc.zip
chromium_src-7e56010853309e90693023fe9f0c5a1c086840dc.tar.gz
chromium_src-7e56010853309e90693023fe9f0c5a1c086840dc.tar.bz2
Convert uses of int ms to TimeDelta in chrome/browser and net (second try).
R=jar@chromium.org BUG=108171 Review URL: http://codereview.chromium.org/9595007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125680 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/curvecp/client_packetizer.h')
-rw-r--r--net/curvecp/client_packetizer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/curvecp/client_packetizer.h b/net/curvecp/client_packetizer.h
index 01869f4..1214463 100644
--- a/net/curvecp/client_packetizer.h
+++ b/net/curvecp/client_packetizer.h
@@ -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.
@@ -9,6 +9,7 @@
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
+#include "base/time.h"
#include "net/base/address_list.h"
#include "net/base/completion_callback.h"
#include "net/curvecp/packetizer.h"
@@ -66,7 +67,7 @@ class ClientPacketizer : public Packetizer {
int ConnectNextAddress();
// We set a timeout for responses to the Hello message.
- void StartHelloTimer(int milliseconds);
+ void StartHelloTimer(base::TimeDelta delay);
void RevokeHelloTimer();
void OnHelloTimeout(); // Called when the Hello Timer fires.