diff options
author | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-08 00:47:23 +0000 |
---|---|---|
committer | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-08 00:47:23 +0000 |
commit | b7c2f25802d9e74c4aec3f0b99feed1b7a951bad (patch) | |
tree | e674c739e2fce2326f82e5b1997b0564e1e28a94 /chrome/browser/renderer_host/render_process_host.h | |
parent | 900eef6269a3fcf167bc1a05036b2b1420dd85e1 (diff) | |
download | chromium_src-b7c2f25802d9e74c4aec3f0b99feed1b7a951bad.zip chromium_src-b7c2f25802d9e74c4aec3f0b99feed1b7a951bad.tar.gz chromium_src-b7c2f25802d9e74c4aec3f0b99feed1b7a951bad.tar.bz2 |
Revert "Allow silent extension installations from the extensions gallery - Part 1."
Original CL: http://codereview.chromium.org/400018/show
Looks like we're no longer hoping to get this approach into mstone4 release, so I'm unwinding this.
BUG=27431
TBR=aa
Review URL: http://codereview.chromium.org/467042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34025 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/render_process_host.h')
-rw-r--r-- | chrome/browser/renderer_host/render_process_host.h | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/chrome/browser/renderer_host/render_process_host.h b/chrome/browser/renderer_host/render_process_host.h index 0949ffb..aad1f83 100644 --- a/chrome/browser/renderer_host/render_process_host.h +++ b/chrome/browser/renderer_host/render_process_host.h @@ -38,16 +38,12 @@ class RenderProcessHost : public IPC::Channel::Sender, // We classify renderers according to their highest privilege, and try // to group pages into renderers with similar privileges. - // Note: it may be possible for a renderer to have both DOMUI and EXTENSION - // privileges, in which case we call it an "extension" renderer. - // TYPE_EXTENSION_GALLERY should never be TYPE_DOMUI and/or TYPE_EXTENSION - // as well. + // Note: it may be possible for a renderer to have multiple privileges, + // in which case we call it an "extension" renderer. enum Type { - TYPE_NORMAL, // Normal renderer, no extra privileges. - TYPE_EXTENSION_GALLERY, // Renderer with silent extension installation - // privileges. - TYPE_DOMUI, // Renderer with DOMUI privileges, like New Tab. - TYPE_EXTENSION // Renderer with extension privileges. + TYPE_NORMAL, // Normal renderer, no extra privileges. + TYPE_DOMUI, // Renderer with DOMUI privileges, like New Tab. + TYPE_EXTENSION, // Renderer with extension privileges. }; // Details for RENDERER_PROCESS_CLOSED notifications. @@ -179,9 +175,6 @@ class RenderProcessHost : public IPC::Channel::Sender, // Called when a received message cannot be decoded. virtual void ReceivedBadMessage(uint32 msg_type) = 0; - // Called when a renderer security policy is violated. - virtual void PolicyViolated(const std::string& policy_name) = 0; - // Track the count of visible widgets. Called by listeners to register and // unregister visibility. virtual void WidgetRestored() = 0; |