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

Side by Side Diff: content/renderer/pepper/pepper_plugin_instance_impl.h

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, 3 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 unified diff | Download patch | Annotate | Revision Log
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_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 PP_Var relative, 428 PP_Var relative,
429 PP_URLComponents_Dev* components) OVERRIDE; 429 PP_URLComponents_Dev* components) OVERRIDE;
430 virtual PP_Bool DocumentCanRequest(PP_Instance instance, PP_Var url) OVERRIDE; 430 virtual PP_Bool DocumentCanRequest(PP_Instance instance, PP_Var url) OVERRIDE;
431 virtual PP_Bool DocumentCanAccessDocument(PP_Instance instance, 431 virtual PP_Bool DocumentCanAccessDocument(PP_Instance instance,
432 PP_Instance target) OVERRIDE; 432 PP_Instance target) OVERRIDE;
433 virtual PP_Var GetDocumentURL(PP_Instance instance, 433 virtual PP_Var GetDocumentURL(PP_Instance instance,
434 PP_URLComponents_Dev* components) OVERRIDE; 434 PP_URLComponents_Dev* components) OVERRIDE;
435 virtual PP_Var GetPluginInstanceURL( 435 virtual PP_Var GetPluginInstanceURL(
436 PP_Instance instance, 436 PP_Instance instance,
437 PP_URLComponents_Dev* components) OVERRIDE; 437 PP_URLComponents_Dev* components) OVERRIDE;
438 virtual PP_Var GetPluginRefererURL(
439 PP_Instance instance,
440 PP_URLComponents_Dev* components) OVERRIDE;
438 441
439 // PPB_ContentDecryptor_Private implementation. 442 // PPB_ContentDecryptor_Private implementation.
440 virtual void NeedKey(PP_Instance instance, 443 virtual void NeedKey(PP_Instance instance,
441 PP_Var key_system, 444 PP_Var key_system,
442 PP_Var session_id, 445 PP_Var session_id,
443 PP_Var init_data) OVERRIDE; 446 PP_Var init_data) OVERRIDE;
444 virtual void KeyAdded(PP_Instance instance, 447 virtual void KeyAdded(PP_Instance instance,
445 PP_Var key_system, 448 PP_Var key_system,
446 PP_Var session_id) OVERRIDE; 449 PP_Var session_id) OVERRIDE;
447 virtual void KeyMessage(PP_Instance instance, 450 virtual void KeyMessage(PP_Instance instance,
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 852
850 scoped_ptr<MouseLockDispatcher::LockTarget> lock_target_; 853 scoped_ptr<MouseLockDispatcher::LockTarget> lock_target_;
851 854
852 friend class PpapiPluginInstanceTest; 855 friend class PpapiPluginInstanceTest;
853 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); 856 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl);
854 }; 857 };
855 858
856 } // namespace content 859 } // namespace content
857 860
858 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 861 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/pepper/pepper_plugin_instance_impl.cc » ('j') | ppapi/api/dev/ppb_url_util_dev.idl » ('J')

Powered by Google App Engine
This is Rietveld 408576698