Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Side by Side Diff: content/browser/device_sensors/data_fetcher_shared_memory_mac.cc

Issue 2293583002: Change includes of histogram.h to histogram_macros.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/browser/device_sensors/data_fetcher_shared_memory.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram_macros.h"
11 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
12 #include "content/browser/device_sensors/ambient_light_mac.h" 12 #include "content/browser/device_sensors/ambient_light_mac.h"
13 #include "third_party/sudden_motion_sensor/sudden_motion_sensor_mac.h" 13 #include "third_party/sudden_motion_sensor/sudden_motion_sensor_mac.h"
14 14
15 namespace { 15 namespace {
16 16
17 const double kMeanGravity = 9.80665; 17 const double kMeanGravity = 9.80665;
18 18
19 double LMUvalueToLux(uint64_t raw_value) { 19 double LMUvalueToLux(uint64_t raw_value) {
20 // Conversion formula from regression. 20 // Conversion formula from regression.
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 light_buffer_ = nullptr; 271 light_buffer_ = nullptr;
272 } 272 }
273 return true; 273 return true;
274 default: 274 default:
275 NOTREACHED(); 275 NOTREACHED();
276 } 276 }
277 return false; 277 return false;
278 } 278 }
279 279
280 } // namespace content 280 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/cocoa/system_hotkey_helper_mac.mm ('k') | content/browser/dom_storage/dom_storage_area.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698