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

Unified Diff: content/ppapi_plugin/ppapi_thread.cc

Issue 10815073: Refactoring of new IPC-only pepper implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/ppapi_plugin/ppapi_thread.cc
diff --git a/content/ppapi_plugin/ppapi_thread.cc b/content/ppapi_plugin/ppapi_thread.cc
index 5fa3b87a639f95a92ce32a39e5d804c6c12c94ad..34dee03926d24391c1a9ca69f23f14bcf525a8b7 100644
--- a/content/ppapi_plugin/ppapi_thread.cc
+++ b/content/ppapi_plugin/ppapi_thread.cc
@@ -166,6 +166,10 @@ bool PpapiThread::SendToBrowser(IPC::Message* msg) {
return sync_message_filter()->Send(msg);
}
+IPC::Sender* PpapiThread::GetBrowserSender() {
+ return this;
+}
+
std::string PpapiThread::GetUILanguage() {
CommandLine* command_line = CommandLine::ForCurrentProcess();
return command_line->GetSwitchValueASCII(switches::kLang);

Powered by Google App Engine
This is Rietveld 408576698