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

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

Issue 20707002: Implement Device Orientation using shared memory in content/renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed owners Created 7 years, 5 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.h
diff --git a/content/browser/device_orientation/message_filter.h b/content/browser/device_orientation/message_filter.h
index f0135f49096dc0c99411fa294382d4ca715e0769..68472e99114c80ed1f9b174a53cfb518e189cdd2 100644
--- a/content/browser/device_orientation/message_filter.h
+++ b/content/browser/device_orientation/message_filter.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_DEVICE_ORIENTATION_MESSAGE_FILTER_H_
-#define CONTENT_BROWSER_DEVICE_ORIENTATION_MESSAGE_FILTER_H_
+#ifndef CONTENT_BROWSER_DEVICE_ORIENTATION_MESSAGE_FILTER_OLD_H_
palmer 2013/08/02 19:10:37 But file name has not changed?
timvolodine 2013/08/05 15:26:47 Done. (reverted to the old #ifndef, new filters ha
+#define CONTENT_BROWSER_DEVICE_ORIENTATION_MESSAGE_FILTER_OLD_H_
#include <map>
@@ -17,15 +17,15 @@ class ObserverDelegate;
class Provider;
-class DeviceOrientationMessageFilter : public BrowserMessageFilter {
+class DeviceOrientationMessageFilterOld : public BrowserMessageFilter {
public:
// BrowserMessageFilter implementation.
virtual bool OnMessageReceived(const IPC::Message& message,
bool* message_was_ok) OVERRIDE = 0;
protected:
- DeviceOrientationMessageFilter(DeviceData::Type device_data_type);
- virtual ~DeviceOrientationMessageFilter();
+ DeviceOrientationMessageFilterOld(DeviceData::Type device_data_type);
+ virtual ~DeviceOrientationMessageFilterOld();
void OnStartUpdating(int render_view_id);
void OnStopUpdating(int render_view_id);
@@ -41,4 +41,4 @@ class DeviceOrientationMessageFilter : public BrowserMessageFilter {
} // namespace content
-#endif // CONTENT_BROWSER_DEVICE_ORIENTATION_MESSAGE_FILTER_H_
+#endif // CONTENT_BROWSER_DEVICE_ORIENTATION_MESSAGE_FILTER_OLD_H_

Powered by Google App Engine
This is Rietveld 408576698