diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-31 19:40:37 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-31 19:40:37 +0000 |
commit | 8ac1a75acadaa2aae065212cb6255d00c789a184 (patch) | |
tree | 854eaf66ba8ce7e581bd8e6f1fa75f46d22f4bb7 /chrome/browser/web_contents.cc | |
parent | 287a019ed5d015185cab41f6c7156dc6c4cbcee7 (diff) | |
download | chromium_src-8ac1a75acadaa2aae065212cb6255d00c789a184.zip chromium_src-8ac1a75acadaa2aae065212cb6255d00c789a184.tar.gz chromium_src-8ac1a75acadaa2aae065212cb6255d00c789a184.tar.bz2 |
Move more net classes into the net namespace. Also remove the net_util namespace in favor of the net namespace.
This is a purely mechanical change. There should be no logic changes.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/web_contents.cc')
-rw-r--r-- | chrome/browser/web_contents.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/web_contents.cc b/chrome/browser/web_contents.cc index 5a330e7..0d5ed17 100644 --- a/chrome/browser/web_contents.cc +++ b/chrome/browser/web_contents.cc @@ -1301,7 +1301,8 @@ void WebContents::UpdateHistoryForNavigation(const GURL& display_url, void WebContents::MaybeCloseChildWindows( const ViewHostMsg_FrameNavigate_Params& params) { - if (RegistryControlledDomainService::SameDomainOrHost(last_url_, params.url)) + if (net::RegistryControlledDomainService::SameDomainOrHost( + last_url_, params.url)) return; last_url_ = params.url; @@ -1876,7 +1877,7 @@ void WebContents::DidNavigateAnyFramePreCommit( DownloadManager* download_manager = profile()->GetDownloadManager(); // download_manager can be NULL in unit test context. if (download_manager && download_manager ->in_progress_count() == 0 && - current_entry && !RegistryControlledDomainService::SameDomainOrHost( + current_entry && !net::RegistryControlledDomainService::SameDomainOrHost( current_entry->GetURL(), entry->GetURL())) { TimeDelta time_delta( TimeTicks::Now() - last_download_shelf_show_); |