diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-13 19:59:42 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-13 19:59:42 +0000 |
commit | f68fbd1b300401c79df8df9773bbe7aa36ff6062 (patch) | |
tree | 03ee96dda7178644ecf38168bc9c2255b23b8a68 /chrome/browser/device_orientation | |
parent | ef0a90512e67c67b5845b0661c379de5a9fb3180 (diff) | |
download | chromium_src-f68fbd1b300401c79df8df9773bbe7aa36ff6062.zip chromium_src-f68fbd1b300401c79df8df9773bbe7aa36ff6062.tar.gz chromium_src-f68fbd1b300401c79df8df9773bbe7aa36ff6062.tar.bz2 |
Cleanup: Remove unneeded browser_thread.h usage.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/5676004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69037 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/device_orientation')
-rw-r--r-- | chrome/browser/device_orientation/provider_impl.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/device_orientation/provider_impl.cc b/chrome/browser/device_orientation/provider_impl.cc index e5e2397..5ebfdb6 100644 --- a/chrome/browser/device_orientation/provider_impl.cc +++ b/chrome/browser/device_orientation/provider_impl.cc @@ -7,8 +7,9 @@ #include <vector> #include "base/logging.h" +#include "base/message_loop.h" #include "base/task.h" -#include "chrome/browser/browser_thread.h" +#include "base/thread.h" #include "chrome/browser/device_orientation/orientation.h" #include "chrome/browser/device_orientation/provider_impl.h" @@ -150,6 +151,7 @@ void ProviderImpl::ScheduleDoPoll() { } namespace { + bool IsElementSignificantlyDifferent(bool can_provide_element1, bool can_provide_element2, double element1, @@ -163,7 +165,7 @@ bool IsElementSignificantlyDifferent(bool can_provide_element1, return true; return false; } -} // namespace +} // namespace // Returns true if two orientations are considered different enough that // observers should be notified of the new orientation. |