| Index: content/browser/device_orientation/data_fetcher_shared_memory.h
|
| diff --git a/content/browser/device_orientation/data_fetcher_shared_memory.h b/content/browser/device_orientation/data_fetcher_shared_memory.h
|
| index 1b5091ea23c6be24db327bf3bdd295f840a5e841..225f1b55c22b58d551e3ad80dc1abde9ea199ff4 100644
|
| --- a/content/browser/device_orientation/data_fetcher_shared_memory.h
|
| +++ b/content/browser/device_orientation/data_fetcher_shared_memory.h
|
| @@ -14,6 +14,9 @@
|
|
|
| #if defined(OS_MACOSX)
|
| class SuddenMotionSensor;
|
| +#elif defined(OS_WIN)
|
| +#include <SensorsApi.h>
|
| +#include "base/win/scoped_comptr.h"
|
| #endif
|
|
|
| namespace content {
|
| @@ -38,6 +41,11 @@ class CONTENT_EXPORT DataFetcherSharedMemory
|
| virtual bool IsPolling() const OVERRIDE;
|
|
|
| scoped_ptr<SuddenMotionSensor> sudden_motion_sensor_;
|
| +#elif defined(OS_WIN)
|
| + class SensorEventSink;
|
| + friend SensorEventSink;
|
| +
|
| + base::win::ScopedComPtr<ISensor> sensor_;
|
| #endif
|
|
|
| DISALLOW_COPY_AND_ASSIGN(DataFetcherSharedMemory);
|
|
|