diff options
Diffstat (limited to 'chrome/browser/device_orientation/data_fetcher.h')
-rw-r--r-- | chrome/browser/device_orientation/data_fetcher.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/chrome/browser/device_orientation/data_fetcher.h b/chrome/browser/device_orientation/data_fetcher.h new file mode 100644 index 0000000..1a599b7 --- /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_ |