diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-07 20:02:15 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-07 20:02:15 +0000 |
commit | 70771b35915b066928ac79c8a5ba4b950e4d74ec (patch) | |
tree | 06a50bbb926d49633938227ef420caccee91407f /chrome | |
parent | 05bc4b5209315bfaac0cabb5eb409f38ea1cb2f0 (diff) | |
download | chromium_src-70771b35915b066928ac79c8a5ba4b950e4d74ec.zip chromium_src-70771b35915b066928ac79c8a5ba4b950e4d74ec.tar.gz chromium_src-70771b35915b066928ac79c8a5ba4b950e4d74ec.tar.bz2 |
posix: the code path on either side of this ifdef is identical.
Looks like someone cleaned up the code but missed this part.
Review URL: http://codereview.chromium.org/63072
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13275 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents_factory.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/tab_contents/tab_contents_factory.cc b/chrome/browser/tab_contents/tab_contents_factory.cc index 8cc721f..3a9feca 100644 --- a/chrome/browser/tab_contents/tab_contents_factory.cc +++ b/chrome/browser/tab_contents/tab_contents_factory.cc @@ -74,22 +74,12 @@ TabContentsType TabContents::TypeForURL(GURL* url) { } } -// TODO(port): port the rest of this function. -#if defined(OS_WIN) // Try to handle as a browser URL. If successful, |url| will end up // containing the real url being loaded (browser url's are just an alias). TabContentsType type(TAB_CONTENTS_UNKNOWN_TYPE); if (BrowserURLHandler::HandleBrowserURL(url, &type)) return type; -#elif defined(OS_POSIX) - TabContentsType type(TAB_CONTENTS_UNKNOWN_TYPE); - if (BrowserURLHandler::HandleBrowserURL(url, &type)) { - return type; - } - NOTIMPLEMENTED(); -#endif - // NOTE: Even the empty string can be loaded by a WebContents. return TAB_CONTENTS_WEB; } |