Index: content/common/device_sensors/device_light_data.cc |
diff --git a/content/browser/power_profiler/power_data_provider_dummy.cc b/content/common/device_sensors/device_light_data.cc |
similarity index 63% |
copy from content/browser/power_profiler/power_data_provider_dummy.cc |
copy to content/common/device_sensors/device_light_data.cc |
index 749f7c5066de86791a8bf26af6d05dd2429151a9..3b48a35bdb6818a8eb5869fe5b810845d2f3a003 100644 |
--- a/content/browser/power_profiler/power_data_provider_dummy.cc |
+++ b/content/common/device_sensors/device_light_data.cc |
@@ -2,12 +2,15 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "content/browser/power_profiler/power_data_provider.h" |
+#include "content/common/device_sensors/device_light_data.h" |
+ |
+#include <string.h> |
namespace content { |
-scoped_ptr<PowerDataProvider> PowerDataProvider::Create() { |
- return make_scoped_ptr<PowerDataProvider>(NULL); |
+DeviceLightData::DeviceLightData() |
+{ |
+ memset(this, 0, sizeof(*this)); |
jochen (gone - plz use gerrit)
2014/06/12 14:33:50
don't do this. use proper initialization.
riju_
2014/06/13 17:06:25
Done.
|
} |
} // namespace content |