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

Side by Side Diff: content/renderer/npapi/webplugin_delegate_proxy.h

Issue 736743003: Use content::Referrer to pass around referrers in the plugin code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ 5 #ifndef CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_
6 #define CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ 6 #define CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 WebPluginResourceClient* CreateSeekableResourceClient( 130 WebPluginResourceClient* CreateSeekableResourceClient(
131 unsigned long resource_id, 131 unsigned long resource_id,
132 int range_request_id) override; 132 int range_request_id) override;
133 void FetchURL(unsigned long resource_id, 133 void FetchURL(unsigned long resource_id,
134 int notify_id, 134 int notify_id,
135 const GURL& url, 135 const GURL& url,
136 const GURL& first_party_for_cookies, 136 const GURL& first_party_for_cookies,
137 const std::string& method, 137 const std::string& method,
138 const char* buf, 138 const char* buf,
139 unsigned int len, 139 unsigned int len,
140 const GURL& referrer, 140 const Referrer& referrer,
141 bool notify_redirects, 141 bool notify_redirects,
142 bool is_plugin_src_load, 142 bool is_plugin_src_load,
143 int origin_pid, 143 int origin_pid,
144 int render_frame_id, 144 int render_frame_id,
145 int render_view_id) override; 145 int render_view_id) override;
146 146
147 gfx::PluginWindowHandle GetPluginWindowHandle(); 147 gfx::PluginWindowHandle GetPluginWindowHandle();
148 148
149 protected: 149 protected:
150 friend class base::DeleteHelper<WebPluginDelegateProxy>; 150 friend class base::DeleteHelper<WebPluginDelegateProxy>;
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 309
310 // The url of the main frame hosting the plugin. 310 // The url of the main frame hosting the plugin.
311 GURL page_url_; 311 GURL page_url_;
312 312
313 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); 313 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy);
314 }; 314 };
315 315
316 } // namespace content 316 } // namespace content
317 317
318 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ 318 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_
OLDNEW
« no previous file with comments | « content/plugin/webplugin_delegate_stub.cc ('k') | content/renderer/npapi/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698