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

Side by Side Diff: chrome/browser/browser_process.h

Issue 6801008: Websocket to TCP proxy running in a separate thread (only on ChromeOS). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase+minor Created 9 years, 7 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/browser/browser_main.cc ('k') | chrome/browser/browser_process_impl.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // This interface is for managing the global services of the application. Each 5 // This interface is for managing the global services of the application. Each
6 // service is lazily created when requested the first time. The service getters 6 // service is lazily created when requested the first time. The service getters
7 // will return NULL if the service is not available, so callers must check for 7 // will return NULL if the service is not available, so callers must check for
8 // this condition. 8 // this condition.
9 9
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_H_ 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_H_
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // we can't route the request to the UI thread. Note that this thread 138 // we can't route the request to the UI thread. Note that this thread
139 // should only be used by the IO thread and this method is only safe to call 139 // should only be used by the IO thread and this method is only safe to call
140 // from the UI thread so, if you've ended up here, something has gone wrong. 140 // from the UI thread so, if you've ended up here, something has gone wrong.
141 // This method is only included for uniformity. 141 // This method is only included for uniformity.
142 virtual base::Thread* background_x11_thread() = 0; 142 virtual base::Thread* background_x11_thread() = 0;
143 #endif 143 #endif
144 144
145 // Returns the thread that is used for health check of all browser threads. 145 // Returns the thread that is used for health check of all browser threads.
146 virtual WatchDogThread* watchdog_thread() = 0; 146 virtual WatchDogThread* watchdog_thread() = 0;
147 147
148 #if defined(OS_CHROMEOS)
149 // Returns thread for websocket to TCP proxy.
150 // TODO(dilmah): remove this thread. Instead provide this functionality via
151 // hooks into websocket bridge layer.
152 virtual base::Thread* web_socket_proxy_thread() = 0;
153 #endif
154
148 virtual policy::BrowserPolicyConnector* browser_policy_connector() = 0; 155 virtual policy::BrowserPolicyConnector* browser_policy_connector() = 0;
149 156
150 virtual IconManager* icon_manager() = 0; 157 virtual IconManager* icon_manager() = 0;
151 158
152 virtual ThumbnailGenerator* GetThumbnailGenerator() = 0; 159 virtual ThumbnailGenerator* GetThumbnailGenerator() = 0;
153 160
154 virtual AutomationProviderList* InitAutomationProviderList() = 0; 161 virtual AutomationProviderList* InitAutomationProviderList() = 0;
155 162
156 virtual void InitDevToolsHttpProtocolHandler( 163 virtual void InitDevToolsHttpProtocolHandler(
157 const std::string& ip, 164 const std::string& ip,
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 242
236 // Used for testing plugin data removal at shutdown. 243 // Used for testing plugin data removal at shutdown.
237 std::string plugin_data_remover_mime_type_; 244 std::string plugin_data_remover_mime_type_;
238 245
239 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); 246 DISALLOW_COPY_AND_ASSIGN(BrowserProcess);
240 }; 247 };
241 248
242 extern BrowserProcess* g_browser_process; 249 extern BrowserProcess* g_browser_process;
243 250
244 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ 251 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698