blob: 1a599b7809600f9c8676076712b6eb0deabc325a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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_
|