diff options
author | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-20 21:22:02 +0000 |
---|---|---|
committer | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-20 21:22:02 +0000 |
commit | 2d2118e9ebf9c85974e6299680253598a7a5610d (patch) | |
tree | 378eefc1a7f5b4e5eb33466a462ca3780a8655fe /content/browser/device_orientation/provider_impl.h | |
parent | 8809f144c378ccfe77ae574d47418aba7cf55491 (diff) | |
download | chromium_src-2d2118e9ebf9c85974e6299680253598a7a5610d.zip chromium_src-2d2118e9ebf9c85974e6299680253598a7a5610d.tar.gz chromium_src-2d2118e9ebf9c85974e6299680253598a7a5610d.tar.bz2 |
Convert use of int ms to TimeDelta in files owned by bulach.
BUG=108171
TEST=
Review URL: http://codereview.chromium.org/9195028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118502 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/device_orientation/provider_impl.h')
-rw-r--r-- | content/browser/device_orientation/provider_impl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/content/browser/device_orientation/provider_impl.h b/content/browser/device_orientation/provider_impl.h index 4fb5ebd..c7c12eb 100644 --- a/content/browser/device_orientation/provider_impl.h +++ b/content/browser/device_orientation/provider_impl.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. @@ -10,6 +10,7 @@ #include "base/memory/scoped_ptr.h" #include "base/memory/weak_ptr.h" +#include "base/time.h" #include "content/browser/device_orientation/data_fetcher.h" #include "content/browser/device_orientation/orientation.h" #include "content/browser/device_orientation/provider.h" @@ -61,7 +62,7 @@ class ProviderImpl : public Provider { const Orientation& orientation2); enum { kDesiredSamplingIntervalMs = 100 }; - int SamplingIntervalMs() const; + base::TimeDelta SamplingInterval() const; // The Message Loop on which this object was created. // Typically the I/O loop, but may be something else during testing. |