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

Unified Diff: webkit/plugins/ppapi/var.h

Issue 6667010: Add a console interface for logging to the JS console from a PPAPI plugin.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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: webkit/plugins/ppapi/var.h
===================================================================
--- webkit/plugins/ppapi/var.h (revision 77666)
+++ webkit/plugins/ppapi/var.h (working copy)
@@ -54,6 +54,9 @@
// given module. A returned string will have a reference count of 1.
static PP_Var NPIdentifierToPPVar(PluginModule* module, NPIdentifier id);
+ // Returns a string representing the given var for logging purposes.
+ static std::string PPVarToLogString(PP_Var var);
+
// Provides access to the manual refcounting of a PP_Var from the plugin's
// perspective. This is different than the AddRef/Release on this scoped
// object. This uses the ResourceTracker, which keeps a separate "plugin

Powered by Google App Engine
This is Rietveld 408576698