summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_about_handler.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-15 03:25:11 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-15 03:25:11 +0000
commit7f0005ab19ca4e374029180753c32e4c9813303a (patch)
treef36e756a90ff4324530789c89aef6a2e2f3573b5 /chrome/browser/browser_about_handler.cc
parentb237407befc41c3a19c7519523b102808213b49b (diff)
downloadchromium_src-7f0005ab19ca4e374029180753c32e4c9813303a.zip
chromium_src-7f0005ab19ca4e374029180753c32e4c9813303a.tar.gz
chromium_src-7f0005ab19ca4e374029180753c32e4c9813303a.tar.bz2
Remove TabContentsType from the NavigationController external interface and in
some related areas. I removed all uses of this in the previous patch. Review URL: http://codereview.chromium.org/73057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13730 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_about_handler.cc')
-rw-r--r--chrome/browser/browser_about_handler.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
index 9c8fc28..8c34b3f 100644
--- a/chrome/browser/browser_about_handler.cc
+++ b/chrome/browser/browser_about_handler.cc
@@ -577,7 +577,7 @@ void AboutMemoryHandler::OnDetailsAvailable() {
// -----------------------------------------------------------------------------
-bool WillHandleBrowserAboutURL(GURL* url, TabContentsType* type) {
+bool WillHandleBrowserAboutURL(GURL* url) {
// We only handle about: schemes.
if (!url->SchemeIs(chrome::kAboutScheme))
return false;
@@ -592,7 +592,6 @@ bool WillHandleBrowserAboutURL(GURL* url, TabContentsType* type) {
if (LowerCaseEqualsASCII(url->spec(), chrome::kAboutCacheURL)) {
// Create an mapping from about:cache to the view-cache: internal URL.
*url = GURL(std::string(chrome::kViewCacheScheme) + ":");
- *type = TAB_CONTENTS_WEB;
return true;
}
@@ -614,7 +613,6 @@ bool WillHandleBrowserAboutURL(GURL* url, TabContentsType* type) {
// the final page. See GetAboutMemoryRedirectResponse above for why.
if (LowerCaseEqualsASCII(url->path(), kMemoryPath)) {
*url = GURL("chrome-ui://about/memory-redirect");
- *type = TAB_CONTENTS_WEB;
return true;
}
@@ -624,7 +622,6 @@ bool WillHandleBrowserAboutURL(GURL* url, TabContentsType* type) {
std::string about_url = "chrome-ui://about/";
about_url.append(url->path());
*url = GURL(about_url);
- *type = TAB_CONTENTS_WEB;
return true;
}