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

Unified Diff: device/sensors/public/cpp/orientation_data.cc

Issue 2415083002: Move Device Sensors client files from Blink to //device/sensors client lib (Closed)
Patch Set: Revert licenses change for similarity Created 4 years, 2 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: device/sensors/public/cpp/orientation_data.cc
diff --git a/third_party/WebKit/Source/platform/exported/WebDeviceMotionData.cpp b/device/sensors/public/cpp/orientation_data.cc
similarity index 92%
rename from third_party/WebKit/Source/platform/exported/WebDeviceMotionData.cpp
rename to device/sensors/public/cpp/orientation_data.cc
index 10f219ab20a8b4f29dac99a5d29087b54d5a0356..966c09760951f3b72d9c2e118d70058f6fff1910 100644
--- a/third_party/WebKit/Source/platform/exported/WebDeviceMotionData.cpp
+++ b/device/sensors/public/cpp/orientation_data.cc
@@ -28,13 +28,13 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "public/platform/modules/device_orientation/WebDeviceMotionData.h"
+#include "device/sensors/public/cpp/orientation_data.h"
#include <string.h>
-namespace blink {
+namespace device {
-WebDeviceMotionData::WebDeviceMotionData() {
+OrientationData::OrientationData() {
// Make sure to zero out the memory so that there are no uninitialized bits.
// This object is used in the shared memory buffer and is memory copied by
// two processes. Valgrind will complain if we copy around memory that is
@@ -42,4 +42,4 @@ WebDeviceMotionData::WebDeviceMotionData() {
memset(this, 0, sizeof(*this));
}
-} // namespace blink
+} // namespace device

Powered by Google App Engine
This is Rietveld 408576698