OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_DEVICE_ORIENTATION_DATA_FETCHER_ORIENTATION_ANDROID_H_ |
| 6 #define CHROME_BROWSER_DEVICE_ORIENTATION_DATA_FETCHER_ORIENTATION_ANDROID_H_ |
| 7 |
| 8 #include "content/browser/device_orientation/data_fetcher.h" |
| 9 #include "content/browser/device_orientation/device_data.h" |
| 10 |
| 11 namespace content { |
| 12 |
| 13 class DataFetcherOrientationAndroid : public DataFetcher { |
| 14 public: |
| 15 // Factory function. We'll listen for events for the lifetime of this object. |
| 16 // Returns NULL on error. |
| 17 static DataFetcher* Create(); |
| 18 |
| 19 virtual ~DataFetcherOrientationAndroid(); |
| 20 |
| 21 // Implementation of DataFetcher. |
| 22 virtual const DeviceData* GetDeviceData(DeviceData::Type type) OVERRIDE; |
| 23 |
| 24 protected: |
| 25 DataFetcherOrientationAndroid(); |
| 26 |
| 27 DISALLOW_COPY_AND_ASSIGN(DataFetcherOrientationAndroid); |
| 28 }; |
| 29 |
| 30 } // namespace content |
| 31 |
| 32 #endif // CHROME_BROWSER_DEVICE_ORIENTATION_DATA_FETCHER_ORIENTATION_ANDROID_H_ |
OLD | NEW |