| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "content/browser/device_sensors/data_fetcher_shared_memory.h" | 5 #include "device/device_sensors/data_fetcher_shared_memory.h" |
| 6 | 6 |
| 7 #include "content/browser/device_sensors/sensor_manager_chromeos.h" | 7 #include "device/device_sensors/sensor_manager_chromeos.h" |
| 8 | 8 |
| 9 namespace content { | 9 namespace content { |
| 10 | 10 |
| 11 DataFetcherSharedMemory::DataFetcherSharedMemory() { | 11 DataFetcherSharedMemory::DataFetcherSharedMemory() { |
| 12 } | 12 } |
| 13 | 13 |
| 14 DataFetcherSharedMemory::~DataFetcherSharedMemory() { | 14 DataFetcherSharedMemory::~DataFetcherSharedMemory() { |
| 15 } | 15 } |
| 16 | 16 |
| 17 bool DataFetcherSharedMemory::Start(ConsumerType consumer_type, void* buffer) { | 17 bool DataFetcherSharedMemory::Start(ConsumerType consumer_type, void* buffer) { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 44 return sensor_manager_->StopFetchingDeviceOrientationData(); | 44 return sensor_manager_->StopFetchingDeviceOrientationData(); |
| 45 case CONSUMER_TYPE_LIGHT: | 45 case CONSUMER_TYPE_LIGHT: |
| 46 NOTIMPLEMENTED(); | 46 NOTIMPLEMENTED(); |
| 47 return false; | 47 return false; |
| 48 } | 48 } |
| 49 NOTREACHED(); | 49 NOTREACHED(); |
| 50 return false; | 50 return false; |
| 51 } | 51 } |
| 52 | 52 |
| 53 } // namespace content | 53 } // namespace content |
| OLD | NEW |