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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest_manager.h

Issue 24243007: Allow webview API in an unblessed extension process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased and comments added 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/browser_plugin/browser_plugin_guest_manager.h
diff --git a/content/browser/browser_plugin/browser_plugin_guest_manager.h b/content/browser/browser_plugin/browser_plugin_guest_manager.h
index a657bfa7a6771252eab565ab799b3d4423f240e0..6c00ec5aa692c6e366feb29f44f9058235b958f1 100644
--- a/content/browser/browser_plugin/browser_plugin_guest_manager.h
+++ b/content/browser/browser_plugin/browser_plugin_guest_manager.h
@@ -38,6 +38,9 @@ class WebContents;
class WebContentsImpl;
struct NativeWebKeyboardEvent;
+// WARNING: BrowserPlugin could be loaded in an unblessed context, thus any new
Charlie Reis 2013/09/25 17:25:18 This part isn't quite right-- BrowserPlugins can't
guohui 2013/09/25 22:43:51 Done.
+// APIs must be guarded with process ID check to prevent abuse by normal
+// renderer processes.
class CONTENT_EXPORT BrowserPluginGuestManager :
public base::SupportsUserData::Data {
public:
« chrome/renderer/extensions/dispatcher.cc ('K') | « chrome/renderer/extensions/dispatcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698