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

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

Issue 10886047: Pepper: Add a X-Requested-With header to URL requests done for Pepper plugins. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: foo Created 8 years 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 | « webkit/plugins/ppapi/ppb_url_loader_impl.cc ('k') | webkit/plugins/ppapi/url_request_info_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/url_request_info_util.h
diff --git a/webkit/plugins/ppapi/url_request_info_util.h b/webkit/plugins/ppapi/url_request_info_util.h
index 4c5e110fa81b65b5c3e2aa096726cebb1e0aac85..12acc77f27055f424b9c9a59eb26af23540f548d 100644
--- a/webkit/plugins/ppapi/url_request_info_util.h
+++ b/webkit/plugins/ppapi/url_request_info_util.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,6 +6,7 @@
#define WEBKIT_PLUGINS_PPAPI_URL_REQUEST_INFO_UTIL_H_
#include "base/memory/ref_counted.h"
+#include "ppapi/c/pp_instance.h"
#include "webkit/plugins/webkit_plugins_export.h"
namespace ppapi {
@@ -25,6 +26,7 @@ namespace ppapi {
// partially initialized). Any upload files with only resource IDs (no file ref
// pointers) will be populated by this function on success.
WEBKIT_PLUGINS_EXPORT bool CreateWebURLRequest(
+ PP_Instance pp_instance,
::ppapi::URLRequestInfoData* data,
WebKit::WebFrame* frame,
WebKit::WebURLRequest* dest);
« no previous file with comments | « webkit/plugins/ppapi/ppb_url_loader_impl.cc ('k') | webkit/plugins/ppapi/url_request_info_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698