Index: chrome/browser/device_orientation/data_fetcher.h |
diff --git a/chrome/browser/device_orientation/data_fetcher.h b/chrome/browser/device_orientation/data_fetcher.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1a599b7809600f9c8676076712b6eb0deabc325a |
--- /dev/null |
+++ b/chrome/browser/device_orientation/data_fetcher.h |
@@ -0,0 +1,21 @@ |
+// Copyright (c) 2010 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. |
+ |
+#ifndef CHROME_BROWSER_DEVICE_ORIENTATION_DATA_FETCHER_H_ |
+#define CHROME_BROWSER_DEVICE_ORIENTATION_DATA_FETCHER_H_ |
+ |
+namespace device_orientation { |
+ |
+class Orientation; |
+ |
+class DataFetcher { |
+ public: |
+ virtual ~DataFetcher() {} |
+ virtual bool GetOrientation(Orientation*) = 0; |
+ virtual int MinSamplingIntervalMs() const { return 0; } |
+}; |
+ |
+} // namespace device_orientation |
+ |
+#endif // CHROME_BROWSER_DEVICE_ORIENTATION_DATA_FETCHER_H_ |