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

Unified Diff: remoting/base/scoped_thread_proxy.cc

Issue 10496002: Revert 140102 - Remove old PostDelayedTask interfaces that use int ms instead of TimeDelta. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 | « remoting/base/scoped_thread_proxy.h ('k') | remoting/host/it2me_host_user_interface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/scoped_thread_proxy.cc
===================================================================
--- remoting/base/scoped_thread_proxy.cc (revision 140108)
+++ remoting/base/scoped_thread_proxy.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -24,9 +24,9 @@
void PostDelayedTask(
const tracked_objects::Location& from_here,
const base::Closure& closure,
- base::TimeDelta delay) {
+ int64 delay_ms) {
if (!canceled_) {
- message_loop_->PostDelayedTask(from_here, Wrap(closure), delay);
+ message_loop_->PostDelayedTask(from_here, Wrap(closure), delay_ms);
}
}
@@ -75,8 +75,8 @@
void ScopedThreadProxy::PostDelayedTask(
const tracked_objects::Location& from_here,
const base::Closure& closure,
- base::TimeDelta delay) {
- core_->PostDelayedTask(from_here, closure, delay);
+ int64 delay_ms) {
+ core_->PostDelayedTask(from_here, closure, delay_ms);
}
void ScopedThreadProxy::Detach() {
Property changes on: remoting/base/scoped_thread_proxy.cc
___________________________________________________________________
Deleted: svn:mergeinfo
« no previous file with comments | « remoting/base/scoped_thread_proxy.h ('k') | remoting/host/it2me_host_user_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698