Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(713)

Side by Side Diff: chrome/browser/device_orientation/data_fetcher.h

Issue 5841002: Finish deinlining virtual methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert parts of the balloon modifications Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_DEVICE_ORIENTATION_DATA_FETCHER_H_ 5 #ifndef CHROME_BROWSER_DEVICE_ORIENTATION_DATA_FETCHER_H_
6 #define CHROME_BROWSER_DEVICE_ORIENTATION_DATA_FETCHER_H_ 6 #define CHROME_BROWSER_DEVICE_ORIENTATION_DATA_FETCHER_H_
7 7
8 namespace device_orientation { 8 namespace device_orientation {
9 9
10 class Orientation; 10 class Orientation;
11 11
12 class DataFetcher { 12 class DataFetcher {
13 public: 13 public:
14 virtual ~DataFetcher() {} 14 virtual ~DataFetcher() {}
15 virtual bool GetOrientation(Orientation*) = 0; 15 virtual bool GetOrientation(Orientation*) = 0;
16 virtual int MinSamplingIntervalMs() const { return 0; }
17 }; 16 };
18 17
19 } // namespace device_orientation 18 } // namespace device_orientation
20 19
21 #endif // CHROME_BROWSER_DEVICE_ORIENTATION_DATA_FETCHER_H_ 20 #endif // CHROME_BROWSER_DEVICE_ORIENTATION_DATA_FETCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698