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

Unified Diff: android_webview/browser/aw_content_browser_client.cc

Issue 142923005: Allow MessageFilters to restrict listening to specific message classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 10 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
« no previous file with comments | « no previous file | build/android/pylib/gtest/filter/ipc_tests_disabled » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_content_browser_client.cc
diff --git a/android_webview/browser/aw_content_browser_client.cc b/android_webview/browser/aw_content_browser_client.cc
index 0a5ed1e9378dca979228a428d15fbefedaa0ca76..dcca91d26f281f49ee7ef5f82afcd8098bd8210d 100644
--- a/android_webview/browser/aw_content_browser_client.cc
+++ b/android_webview/browser/aw_content_browser_client.cc
@@ -68,7 +68,8 @@ private:
};
AwContentsMessageFilter::AwContentsMessageFilter(int process_id)
- : process_id_(process_id) {
+ : BrowserMessageFilter(AndroidWebViewMsgStart),
+ process_id_(process_id) {
}
AwContentsMessageFilter::~AwContentsMessageFilter() {
« no previous file with comments | « no previous file | build/android/pylib/gtest/filter/ipc_tests_disabled » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698