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

Unified Diff: content/child/navigator_connect/navigator_connect_dispatcher.h

Issue 781723002: Pass navigator.connect calls through to the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/child/navigator_connect/navigator_connect_dispatcher.h
diff --git a/content/child/geofencing/geofencing_message_filter.h b/content/child/navigator_connect/navigator_connect_dispatcher.h
similarity index 59%
copy from content/child/geofencing/geofencing_message_filter.h
copy to content/child/navigator_connect/navigator_connect_dispatcher.h
index 3a95d423ccd51ea0b74e507092ac1abc3a17941e..9e4d395b996da8144dd70c22d3e30fca59c7b45b 100644
--- a/content/child/geofencing/geofencing_message_filter.h
+++ b/content/child/navigator_connect/navigator_connect_dispatcher.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_CHILD_GEOFENCING_GEOFENCING_MESSAGE_FILTER_H_
-#define CONTENT_CHILD_GEOFENCING_GEOFENCING_MESSAGE_FILTER_H_
+#ifndef CONTENT_CHILD_NAVIGATOR_CONNECT_NAVIGATOR_CONNECT_DISPATCHER_H_
+#define CONTENT_CHILD_NAVIGATOR_CONNECT_NAVIGATOR_CONNECT_DISPATCHER_H_
#include "content/child/child_message_filter.h"
@@ -15,12 +15,12 @@ namespace content {
class ThreadSafeSender;
-class GeofencingMessageFilter : public ChildMessageFilter {
+class NavigatorConnectDispatcher : public ChildMessageFilter {
scheib 2014/12/05 05:49:50 Dispatcher or Filter? A Filter runs on IPC-IO thre
Marijn Kruisselbrink 2014/12/05 14:25:50 I don't know why some code calls it Dispatcher and
public:
- explicit GeofencingMessageFilter(ThreadSafeSender* thread_safe_sender);
+ explicit NavigatorConnectDispatcher(ThreadSafeSender* thread_safe_sender);
private:
- ~GeofencingMessageFilter() override;
+ ~NavigatorConnectDispatcher() override;
// ChildMessageFilter implementation:
base::TaskRunner* OverrideTaskRunnerForMessage(
@@ -30,9 +30,9 @@ class GeofencingMessageFilter : public ChildMessageFilter {
scoped_refptr<base::MessageLoopProxy> main_thread_loop_proxy_;
scoped_refptr<ThreadSafeSender> thread_safe_sender_;
- DISALLOW_COPY_AND_ASSIGN(GeofencingMessageFilter);
+ DISALLOW_COPY_AND_ASSIGN(NavigatorConnectDispatcher);
};
} // namespace content
-#endif // CONTENT_CHILD_GEOFENCING_GEOFENCING_MESSAGE_FILTER_H_
+#endif // CONTENT_CHILD_NAVIGATOR_CONNECT_NAVIGATOR_CONNECT_DISPATCHER_H_

Powered by Google App Engine
This is Rietveld 408576698