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

Side by Side Diff: chrome/test/testing_browser_process.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/live_sync/live_bookmarks_sync_test.cc ('k') | net/base/host_resolver_proc.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // An implementation of BrowserProcess for unit tests that fails for most 5 // An implementation of BrowserProcess for unit tests that fails for most
6 // services. By preventing creation of services, we reduce dependencies and 6 // services. By preventing creation of services, we reduce dependencies and
7 // keep the profile clean. Clients of this class must handle the NULL return 7 // keep the profile clean. Clients of this class must handle the NULL return
8 // value, however. 8 // value, however.
9 9
10 #ifndef CHROME_TEST_TESTING_BROWSER_PROCESS_H_ 10 #ifndef CHROME_TEST_TESTING_BROWSER_PROCESS_H_
11 #define CHROME_TEST_TESTING_BROWSER_PROCESS_H_ 11 #define CHROME_TEST_TESTING_BROWSER_PROCESS_H_
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 } 104 }
105 105
106 virtual NotificationUIManager* notification_ui_manager() { 106 virtual NotificationUIManager* notification_ui_manager() {
107 return NULL; 107 return NULL;
108 } 108 }
109 109
110 virtual GoogleURLTracker* google_url_tracker() { 110 virtual GoogleURLTracker* google_url_tracker() {
111 return NULL; 111 return NULL;
112 } 112 }
113 113
114 virtual IntranetRedirectDetector* intranet_redirect_detector() {
115 return NULL;
116 }
117
114 virtual AutomationProviderList* InitAutomationProviderList() { 118 virtual AutomationProviderList* InitAutomationProviderList() {
115 return NULL; 119 return NULL;
116 } 120 }
117 121
118 virtual void InitDebuggerWrapper(int port) { 122 virtual void InitDebuggerWrapper(int port) {
119 } 123 }
120 124
121 virtual unsigned int AddRefModule() { 125 virtual unsigned int AddRefModule() {
122 return 1; 126 return 1;
123 } 127 }
(...skipping 29 matching lines...) Expand all
153 157
154 private: 158 private:
155 NotificationService notification_service_; 159 NotificationService notification_service_;
156 scoped_ptr<base::WaitableEvent> shutdown_event_; 160 scoped_ptr<base::WaitableEvent> shutdown_event_;
157 scoped_ptr<Clipboard> clipboard_; 161 scoped_ptr<Clipboard> clipboard_;
158 162
159 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess); 163 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess);
160 }; 164 };
161 165
162 #endif // CHROME_TEST_TESTING_BROWSER_PROCESS_H_ 166 #endif // CHROME_TEST_TESTING_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « chrome/test/live_sync/live_bookmarks_sync_test.cc ('k') | net/base/host_resolver_proc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698