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

Unified Diff: content/common/device_sensors/device_light_data.cc

Issue 286793002: [DeviceLight] Add renderer+common parts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix jochen's comments Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/common/device_sensors/device_light_data.cc
diff --git a/content/child/sync_load_response.cc b/content/common/device_sensors/device_light_data.cc
similarity index 58%
copy from content/child/sync_load_response.cc
copy to content/common/device_sensors/device_light_data.cc
index 163153aa23766cc3a0b71a8fa8e1730efdb7a464..77da74113702983f9782485191dff5cd6a877a74 100644
--- a/content/child/sync_load_response.cc
+++ b/content/common/device_sensors/device_light_data.cc
@@ -2,12 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/child/sync_load_response.h"
+#include "content/common/device_sensors/device_light_data.h"
-namespace content {
+#include <string.h>
-SyncLoadResponse::SyncLoadResponse() {}
+namespace content {
-SyncLoadResponse::~SyncLoadResponse() {}
+DeviceLightData::DeviceLightData() : value(-1), valueIsUpdated(true) {
+}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698