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

Unified Diff: content/browser/device_orientation/message_filter.cc

Issue 20707002: Implement Device Orientation using shared memory in content/renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: excluded orientation pump tests on win bots Created 7 years, 4 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/browser/device_orientation/message_filter.cc
diff --git a/content/browser/device_orientation/message_filter.cc b/content/browser/device_orientation/message_filter.cc
index 2843f7d16e19ca607d84e1786da092f0c9870262..b20071daeede15d165f706b634e0c0e68207252b 100644
--- a/content/browser/device_orientation/message_filter.cc
+++ b/content/browser/device_orientation/message_filter.cc
@@ -10,16 +10,16 @@
namespace content {
-DeviceOrientationMessageFilter::DeviceOrientationMessageFilter(
+DeviceOrientationMessageFilterOld::DeviceOrientationMessageFilterOld(
DeviceData::Type device_data_type)
: provider_(NULL),
device_data_type_(device_data_type) {
}
-DeviceOrientationMessageFilter::~DeviceOrientationMessageFilter() {
+DeviceOrientationMessageFilterOld::~DeviceOrientationMessageFilterOld() {
}
-void DeviceOrientationMessageFilter::OnStartUpdating(int render_view_id) {
+void DeviceOrientationMessageFilterOld::OnStartUpdating(int render_view_id) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
if (!provider_.get())
@@ -29,7 +29,7 @@ void DeviceOrientationMessageFilter::OnStartUpdating(int render_view_id) {
device_data_type_, provider_.get(), render_view_id, this);
}
-void DeviceOrientationMessageFilter::OnStopUpdating(int render_view_id) {
+void DeviceOrientationMessageFilterOld::OnStopUpdating(int render_view_id) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
observers_map_.erase(render_view_id);
« no previous file with comments | « content/browser/device_orientation/message_filter.h ('k') | content/browser/device_orientation/orientation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698