| 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);
|
|
|