Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2870)

Unified Diff: chrome/browser/browser_process_impl.h

Issue 525079: Add autodetection of "intranet" redirection, for ISPs etc. that send typos an... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_process.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.h
===================================================================
--- chrome/browser/browser_process_impl.h (revision 35740)
+++ chrome/browser/browser_process_impl.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -182,6 +182,13 @@
return google_url_tracker_.get();
}
+ virtual IntranetRedirectDetector* intranet_redirect_detector() {
+ DCHECK(CalledOnValidThread());
+ if (!intranet_redirect_detector_.get())
+ CreateIntranetRedirectDetector();
+ return intranet_redirect_detector_.get();
+ }
+
virtual const std::string& GetApplicationLocale() {
DCHECK(!locale_.empty());
return locale_;
@@ -225,6 +232,7 @@
void CreateDebuggerWrapper(int port);
void CreateDevToolsManager();
void CreateGoogleURLTracker();
+ void CreateIntranetRedirectDetector();
void CreateNotificationUIManager();
#if defined(IPC_MESSAGE_LOG_ENABLED)
@@ -282,6 +290,7 @@
scoped_ptr<AutomationProviderList> automation_provider_list_;
scoped_ptr<GoogleURLTracker> google_url_tracker_;
+ scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_;
scoped_ptr<NotificationService> main_notification_service_;
« no previous file with comments | « chrome/browser/browser_process.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698