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

Unified Diff: chrome/browser/device_orientation/provider_impl.cc

Issue 5676004: Cleanup: Remove unneeded browser_thread.h usage. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix deps Created 10 years 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
Index: chrome/browser/device_orientation/provider_impl.cc
===================================================================
--- chrome/browser/device_orientation/provider_impl.cc (revision 68879)
+++ chrome/browser/device_orientation/provider_impl.cc (working copy)
@@ -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 @@
}
namespace {
+
bool IsElementSignificantlyDifferent(bool can_provide_element1,
bool can_provide_element2,
double element1,
@@ -163,7 +165,7 @@
return true;
return false;
}
-} // namespace
+} // namespace
// Returns true if two orientations are considered different enough that
// observers should be notified of the new orientation.

Powered by Google App Engine
This is Rietveld 408576698