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 8168e87134e9b119ec881f4f4da4d698320bbe2b..670c6b77cdafe44e67be1182981abdb76e1a1315 100644 |
--- a/content/browser/device_orientation/data_fetcher_shared_memory.h |
+++ b/content/browser/device_orientation/data_fetcher_shared_memory.h |
@@ -14,9 +14,11 @@ class WebDeviceMotionData; |
namespace content { |
-class DataFetcherSharedMemory { |
+class CONTENT_EXPORT DataFetcherSharedMemory { |
piman
2013/07/26 17:47:48
This class is now used from multiple threads. Plea
timvolodine
2013/07/29 12:06:25
Done.
|
public: |
- DataFetcherSharedMemory() : device_motion_buffer_(NULL) { } |
+ DataFetcherSharedMemory() |
+ : device_motion_buffer_(NULL), |
+ started_(false) { } |
virtual ~DataFetcherSharedMemory(); |
// Returns true if this fetcher needs explicit calls to fetch the data. |
@@ -39,6 +41,7 @@ class DataFetcherSharedMemory { |
private: |
DeviceMotionHardwareBuffer* device_motion_buffer_; |
+ bool started_; |
DISALLOW_COPY_AND_ASSIGN(DataFetcherSharedMemory); |
}; |