| 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..3bd4103d437353ba3416326ec99d0faa58a8bbc2 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
|
| + // 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;
|
|
|
|
|