summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-11 18:47:01 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-11 18:47:01 +0000
commit48db7e044852d7858f3eee3ea395d1670bbfeffc (patch)
treeb654b317338579c24ab922deafa37c9c8e2b0082 /chrome/browser/net
parentaa42765cac1851ce275ceae6dddf7ef00774ee00 (diff)
downloadchromium_src-48db7e044852d7858f3eee3ea395d1670bbfeffc.zip
chromium_src-48db7e044852d7858f3eee3ea395d1670bbfeffc.tar.gz
chromium_src-48db7e044852d7858f3eee3ea395d1670bbfeffc.tar.bz2
Revert r55750
TBR=mirandac@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55761 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net')
-rw-r--r--chrome/browser/net/chrome_url_request_context.cc5
-rw-r--r--chrome/browser/net/chrome_url_request_context.h4
2 files changed, 0 insertions, 9 deletions
diff --git a/chrome/browser/net/chrome_url_request_context.cc b/chrome/browser/net/chrome_url_request_context.cc
index 6441dc9..a67e506 100644
--- a/chrome/browser/net/chrome_url_request_context.cc
+++ b/chrome/browser/net/chrome_url_request_context.cc
@@ -790,11 +790,6 @@ FilePath ChromeURLRequestContext::GetPathForExtension(const std::string& id) {
return FilePath();
}
-bool ChromeURLRequestContext::ExtensionHasWebExtent(const std::string& id) {
- ExtensionInfoMap::iterator iter = extension_info_.find(id);
- return iter != extension_info_.end() && !iter->second->extent.is_empty();
-}
-
std::string ChromeURLRequestContext::GetDefaultLocaleForExtension(
const std::string& id) {
ExtensionInfoMap::iterator iter = extension_info_.find(id);
diff --git a/chrome/browser/net/chrome_url_request_context.h b/chrome/browser/net/chrome_url_request_context.h
index 0bd0770e..1e7065e 100644
--- a/chrome/browser/net/chrome_url_request_context.h
+++ b/chrome/browser/net/chrome_url_request_context.h
@@ -79,10 +79,6 @@ class ChromeURLRequestContext : public URLRequestContext {
// Gets the path to the directory for the specified extension.
FilePath GetPathForExtension(const std::string& id);
- // Returns true if the specified extension exists and has a non-empty web
- // extent.
- bool ExtensionHasWebExtent(const std::string& id);
-
// Returns an empty string if the extension with |id| doesn't have a default
// locale.
std::string GetDefaultLocaleForExtension(const std::string& id);