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

Unified Diff: chrome/common/worker_thread_ticker.h

Issue 9215005: Revert 117824 - Convert use of int ms to TimeDelta in files owned by brettw. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 | « chrome/common/service_process_util_unittest.cc ('k') | chrome/common/worker_thread_ticker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/worker_thread_ticker.h
===================================================================
--- chrome/common/worker_thread_ticker.h (revision 117824)
+++ chrome/common/worker_thread_ticker.h (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.
@@ -58,11 +58,11 @@
}
void set_tick_interval(int tick_interval) {
- tick_interval_ = base::TimeDelta::FromMilliseconds(tick_interval);
+ tick_interval_ = tick_interval;
}
int tick_interval() const {
- return tick_interval_.InMilliseconds();
+ return tick_interval_;
}
private:
@@ -80,7 +80,7 @@
bool is_running_;
// The interval at which the callbacks are to be invoked
- base::TimeDelta tick_interval_;
+ int tick_interval_;
// A list that holds all registered callback interfaces
TickHandlerListType tick_handler_list_;
« no previous file with comments | « chrome/common/service_process_util_unittest.cc ('k') | chrome/common/worker_thread_ticker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698