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

Unified Diff: content/common/child_thread.h

Issue 6711024: Example of how to interpose yourself in a message stream. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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/common/child_thread.h
===================================================================
--- content/common/child_thread.h (revision 83739)
+++ content/common/child_thread.h (working copy)
@@ -42,6 +42,8 @@
IPC::Channel::Listener* ResolveRoute(int32 routing_id);
+ IPC::SyncChannel* channel() { return channel_.get(); }
+
// Creates a ResourceLoaderBridge.
// Tests can override this method if they want a custom loading behavior.
virtual webkit_glue::ResourceLoaderBridge* CreateBridge(
@@ -84,8 +86,6 @@
virtual void OnSetIPCLoggingEnabled(bool enable);
#endif
- IPC::SyncChannel* channel() { return channel_.get(); }
-
void set_on_channel_error_called(bool on_channel_error_called) {
on_channel_error_called_ = on_channel_error_called;
}

Powered by Google App Engine
This is Rietveld 408576698