Index: content/browser/device_orientation/data_fetcher.h |
diff --git a/content/browser/device_orientation/data_fetcher.h b/content/browser/device_orientation/data_fetcher.h |
index 8e69f1f22e3f68a5d96c65896e8ebc122549d2a7..511acae4371eeb644d4c10a20e7c74fbf15bbc23 100644 |
--- a/content/browser/device_orientation/data_fetcher.h |
+++ b/content/browser/device_orientation/data_fetcher.h |
@@ -7,15 +7,17 @@ |
namespace device_orientation { |
+class Motion; |
class Orientation; |
class DataFetcher { |
public: |
virtual ~DataFetcher() {} |
- // Returns false if there was a fatal error getting the orientation. |
- // Returns true otherwise. If the fetcher has orientation data available |
- // it will fill it in, otherwise the argument will be unaltered. |
+ // Return false if there was a fatal error getting the motion or orientation. |
+ // Return true otherwise. If the fetcher has data available it will fill it |
+ // in, otherwise the argument will be unaltered. |
+ virtual bool GetMotion(Motion*) = 0; |
virtual bool GetOrientation(Orientation*) = 0; |
}; |