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

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

Issue 952323002: Cleanup: Fix some content includes that were not using full qualified paths. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | content/browser/device_sensors/data_fetcher_shared_memory_mac.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "data_fetcher_shared_memory.h" 5 #include "content/browser/device_sensors/data_fetcher_shared_memory.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 9
10 namespace { 10 namespace {
11 11
12 static bool SetMotionBuffer(content::DeviceMotionHardwareBuffer* buffer, 12 static bool SetMotionBuffer(content::DeviceMotionHardwareBuffer* buffer,
13 bool enabled) { 13 bool enabled) {
14 if (!buffer) 14 if (!buffer)
15 return false; 15 return false;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 return SetOrientationBuffer(orientation_buffer_, false); 84 return SetOrientationBuffer(orientation_buffer_, false);
85 case CONSUMER_TYPE_LIGHT: 85 case CONSUMER_TYPE_LIGHT:
86 return SetLightBuffer(light_buffer_, -1); 86 return SetLightBuffer(light_buffer_, -1);
87 default: 87 default:
88 NOTREACHED(); 88 NOTREACHED();
89 } 89 }
90 return false; 90 return false;
91 } 91 }
92 92
93 } // namespace content 93 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/browser/device_sensors/data_fetcher_shared_memory_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698