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

Unified Diff: ppapi/cpp/dev/url_util_dev.cc

Issue 23444004: Add GetPluginRefererURL to PPB_URLUtil_Dev interface to get the 'Referer' HTTP header value that wa… (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 4 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: ppapi/cpp/dev/url_util_dev.cc
===================================================================
--- ppapi/cpp/dev/url_util_dev.cc (revision 219784)
+++ ppapi/cpp/dev/url_util_dev.cc (working copy)
@@ -82,4 +82,11 @@
components));
}
+Var URLUtil_Dev::GetPluginRefererURL(const InstanceHandle& instance,
+ PP_URLComponents_Dev* components) const {
+ return Var(PASS_REF,
+ interface_->GetPluginRefererURL(instance.pp_instance(),
+ components));
+}
+
} // namespace pp

Powered by Google App Engine
This is Rietveld 408576698