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

Unified Diff: content/renderer/pepper/message_channel.h

Issue 1088763002: Plugin Power Saver: Add comprehensive browser tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0260-plugins-overhaul-prerender-tests
Patch Set: Created 5 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/renderer/pepper/message_channel.h
diff --git a/content/renderer/pepper/message_channel.h b/content/renderer/pepper/message_channel.h
index c3776e922169787c92fada71ef436221917f5d24..57e0d8e4312eeee6e3635c2d39deb8e0adaa994a 100644
--- a/content/renderer/pepper/message_channel.h
+++ b/content/renderer/pepper/message_channel.h
@@ -117,6 +117,9 @@ class MessageChannel :
// channel's instance synchronously, and return a result.
void PostBlockingMessageToNative(gin::Arguments* args);
+ // Checks if the plugin is marked peripheral. (Only works for test plugins.)
+ void IsPeripheralToNative(gin::Arguments* args);
+
// Post a message to the onmessage handler for this channel's instance
// synchronously. This is used by PostMessageToJavaScript.
void PostMessageToJavaScriptImpl(

Powered by Google App Engine
This is Rietveld 408576698