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

Side by Side Diff: content/browser/device_orientation/accelerometer_mac.h

Issue 6586001: Move appcache/file_sytem/device_orientation subdirectories of chrome\browser ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 9 years, 10 months 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 // This file is based on the SMSLib library. 5 // This file is based on the SMSLib library.
6 // 6 //
7 // SMSLib Sudden Motion Sensor Access Library 7 // SMSLib Sudden Motion Sensor Access Library
8 // Copyright (c) 2010 Suitable Systems 8 // Copyright (c) 2010 Suitable Systems
9 // All rights reserved. 9 // All rights reserved.
10 // 10 //
(...skipping 30 matching lines...) Expand all
41 // 41 //
42 // For more information about SMSLib, see 42 // For more information about SMSLib, see
43 // <http://www.suitable.com/tools/smslib.html> 43 // <http://www.suitable.com/tools/smslib.html>
44 // or contact 44 // or contact
45 // Daniel Griscom 45 // Daniel Griscom
46 // Suitable Systems 46 // Suitable Systems
47 // 1 Centre Street, Suite 204 47 // 1 Centre Street, Suite 204
48 // Wakefield, MA 01880 48 // Wakefield, MA 01880
49 // (781) 665-0053 49 // (781) 665-0053
50 50
51 #ifndef CHROME_BROWSER_DEVICE_ORIENTATION_ACCELEROMETER_MAC_H_ 51 #ifndef CONTENT_BROWSER_DEVICE_ORIENTATION_ACCELEROMETER_MAC_H_
52 #define CHROME_BROWSER_DEVICE_ORIENTATION_ACCELEROMETER_MAC_H_ 52 #define CONTENT_BROWSER_DEVICE_ORIENTATION_ACCELEROMETER_MAC_H_
53 #pragma once 53 #pragma once
54 54
55 #include <vector> 55 #include <vector>
56 56
57 #include <IOKit/IOKitLib.h> 57 #include <IOKit/IOKitLib.h>
58 58
59 #include "chrome/browser/device_orientation/data_fetcher.h" 59 #include "content/browser/device_orientation/data_fetcher.h"
60 60
61 namespace device_orientation { 61 namespace device_orientation {
62 62
63 // Provides an easy-to-use interface to retrieve data 63 // Provides an easy-to-use interface to retrieve data
64 // from the MacBook family accelerometer. 64 // from the MacBook family accelerometer.
65 class AccelerometerMac : public DataFetcher { 65 class AccelerometerMac : public DataFetcher {
66 public: 66 public:
67 static DataFetcher* Create(); 67 static DataFetcher* Create();
68 68
69 // Implement DataFetcher. 69 // Implement DataFetcher.
(...skipping 24 matching lines...) Expand all
94 94
95 // Input memory used for sensor I/O. 95 // Input memory used for sensor I/O.
96 std::vector<char> input_record_; 96 std::vector<char> input_record_;
97 97
98 // Output memory used for sensor I/O. 98 // Output memory used for sensor I/O.
99 std::vector<char> output_record_; 99 std::vector<char> output_record_;
100 }; 100 };
101 101
102 } // namespace device_orientation 102 } // namespace device_orientation
103 103
104 #endif // CHROME_BROWSER_DEVICE_ORIENTATION_ACCELEROMETER_MAC_H_ 104 #endif // CONTENT_BROWSER_DEVICE_ORIENTATION_ACCELEROMETER_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698