Index: content/browser/device_orientation/data_fetcher_shared_memory_base.h |
diff --git a/content/browser/device_orientation/data_fetcher_shared_memory_base.h b/content/browser/device_orientation/data_fetcher_shared_memory_base.h |
index a44959601ace325619349d349483c61297af6903..03d3100b84732c838a512867e9080f03599b4116 100644 |
--- a/content/browser/device_orientation/data_fetcher_shared_memory_base.h |
+++ b/content/browser/device_orientation/data_fetcher_shared_memory_base.h |
@@ -59,8 +59,9 @@ class CONTENT_EXPORT DataFetcherSharedMemoryBase { |
// fetch the sensor data. |
virtual bool IsPolling() const; |
- // Start() method should call InitSharedMemoryBuffer() and cache the obtained |
- // pointer for efficienty and thread-safety. |
+ // Start() method should call InitSharedMemoryBuffer() to get the shared |
bulach
2013/08/23 16:03:34
nit: s/shared shared/shared/ :)
timvolodine
2013/08/23 16:34:55
Done.
|
+ // shared memory pointer. If IsPolling() is true both Start() and Stop() |
+ // methods are called from the |polling_thread_|. |
virtual bool Start(ConsumerType consumer_type) = 0; |
virtual bool Stop(ConsumerType consumer_type) = 0; |