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

Unified Diff: chrome/browser/net/chrome_url_request_context.h

Issue 3116011: Revert 56059 - Merge 55103 - Refactored extension privilege enumeration and i... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/472/src/
Patch Set: Created 10 years, 4 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
« no previous file with comments | « chrome/browser/extensions/extension_protocols.cc ('k') | chrome/browser/net/chrome_url_request_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/chrome_url_request_context.h
===================================================================
--- chrome/browser/net/chrome_url_request_context.h (revision 56066)
+++ chrome/browser/net/chrome_url_request_context.h (working copy)
@@ -5,7 +5,6 @@
#ifndef CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_
#define CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_
-#include <map>
#include <string>
#include <vector>
@@ -52,18 +51,14 @@
ExtensionInfo(const std::string& name, const FilePath& path,
const std::string& default_locale,
const ExtensionExtent& extent,
- const ExtensionExtent& effective_host_permissions,
const std::vector<std::string>& api_permissions)
: name(name), path(path), default_locale(default_locale),
- extent(extent),
- effective_host_permissions(effective_host_permissions),
- api_permissions(api_permissions) {
+ extent(extent), api_permissions(api_permissions) {
}
const std::string name;
- const FilePath path;
- const std::string default_locale;
- const ExtensionExtent extent;
- const ExtensionExtent effective_host_permissions;
+ FilePath path;
+ std::string default_locale;
+ ExtensionExtent extent;
std::vector<std::string> api_permissions;
};
@@ -82,10 +77,6 @@
// locale.
std::string GetDefaultLocaleForExtension(const std::string& id);
- // Gets the effective host permissions for the extension with |id|.
- ExtensionExtent
- GetEffectiveHostPermissionsForExtension(const std::string& id);
-
// Determine whether a URL has access to the specified extension permission.
bool CheckURLAccessToExtensionPermission(const GURL& url,
const char* permission_name);
« no previous file with comments | « chrome/browser/extensions/extension_protocols.cc ('k') | chrome/browser/net/chrome_url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698