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

Unified Diff: content/browser/device_orientation/data_fetcher_impl_android_unittest.cc

Issue 59403004: Android: remove device_data.h from browser/device_orientation/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed extra line Created 6 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
Index: content/browser/device_orientation/data_fetcher_impl_android_unittest.cc
diff --git a/content/browser/device_orientation/data_fetcher_impl_android_unittest.cc b/content/browser/device_orientation/data_fetcher_impl_android_unittest.cc
index 3d36222cf0c0c708f5037e9e924cd7463db5768f..3241bf2f9a8834187a11e61c6d12f0cbe6243c8d 100644
--- a/content/browser/device_orientation/data_fetcher_impl_android_unittest.cc
+++ b/content/browser/device_orientation/data_fetcher_impl_android_unittest.cc
@@ -19,13 +19,6 @@ class FakeDataFetcherImplAndroid : public DataFetcherImplAndroid {
FakeDataFetcherImplAndroid() { }
virtual ~FakeDataFetcherImplAndroid() { }
- virtual bool Start(DeviceData::Type event_type) OVERRIDE {
- return true;
- }
-
- virtual void Stop(DeviceData::Type event_type) OVERRIDE {
- }
-
virtual int GetNumberActiveDeviceMotionSensors() OVERRIDE {
return number_active_sensors_;
}
@@ -34,6 +27,14 @@ class FakeDataFetcherImplAndroid : public DataFetcherImplAndroid {
number_active_sensors_ = number_active_sensors;
}
+ protected:
+ virtual bool Start(EventType event_type) OVERRIDE {
+ return true;
+ }
+
+ virtual void Stop(EventType event_type) OVERRIDE {
+ }
+
private:
int number_active_sensors_;
};
« no previous file with comments | « content/browser/device_orientation/data_fetcher_impl_android.cc ('k') | content/browser/device_orientation/device_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698