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

Side by Side Diff: content/child/npapi/webplugin_delegate_impl.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: 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_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 WebPluginResourceClient* CreateSeekableResourceClient( 114 WebPluginResourceClient* CreateSeekableResourceClient(
115 unsigned long resource_id, 115 unsigned long resource_id,
116 int range_request_id) override; 116 int range_request_id) override;
117 void FetchURL(unsigned long resource_id, 117 void FetchURL(unsigned long resource_id,
118 int notify_id, 118 int notify_id,
119 const GURL& url, 119 const GURL& url,
120 const GURL& first_party_for_cookies, 120 const GURL& first_party_for_cookies,
121 const std::string& method, 121 const std::string& method,
122 const char* buf, 122 const char* buf,
123 unsigned int len, 123 unsigned int len,
124 const GURL& referrer, 124 const Referrer& referrer,
125 bool notify_redirects, 125 bool notify_redirects,
126 bool is_plugin_src_load, 126 bool is_plugin_src_load,
127 int origin_pid, 127 int origin_pid,
128 int render_frame_id, 128 int render_frame_id,
129 int render_view_id) override; 129 int render_view_id) override;
130 // End of WebPluginDelegate implementation. 130 // End of WebPluginDelegate implementation.
131 131
132 gfx::PluginWindowHandle windowed_handle() const { return windowed_handle_; } 132 gfx::PluginWindowHandle windowed_handle() const { return windowed_handle_; }
133 bool IsWindowless() const { return windowless_; } 133 bool IsWindowless() const { return windowless_; }
134 PluginInstance* instance() { return instance_.get(); } 134 PluginInstance* instance() { return instance_.get(); }
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 469
470 // True if NPP_New did not return an error. 470 // True if NPP_New did not return an error.
471 bool creation_succeeded_; 471 bool creation_succeeded_;
472 472
473 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); 473 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl);
474 }; 474 };
475 475
476 } // namespace content 476 } // namespace content
477 477
478 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 478 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698