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

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

Issue 20066: Move resource_message_filter and resource_request_details to the renderer_hos... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 interfaces is for managing the global services of the application. Each 5 // This interfaces 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 // communication with renderers, etc. 83 // communication with renderers, etc.
84 // NOTE: need to check the return value for NULL. 84 // NOTE: need to check the return value for NULL.
85 virtual base::Thread* io_thread() = 0; 85 virtual base::Thread* io_thread() = 0;
86 86
87 // Returns the thread that we perform random file operations on. For code 87 // Returns the thread that we perform random file operations on. For code
88 // that wants to do I/O operations (not network requests or even file: URL 88 // that wants to do I/O operations (not network requests or even file: URL
89 // requests), this is the thread to use to avoid blocking the UI thread. 89 // requests), this is the thread to use to avoid blocking the UI thread.
90 // It might be nicer to have a thread pool for this kind of thing. 90 // It might be nicer to have a thread pool for this kind of thing.
91 virtual base::Thread* file_thread() = 0; 91 virtual base::Thread* file_thread() = 0;
92 92
93 // Returns the thread that is used for database operations such as history. 93 // Returns the thread that is used for database operations such as the web
94 // database. History has its own thread since it has much higher traffic.
94 virtual base::Thread* db_thread() = 0; 95 virtual base::Thread* db_thread() = 0;
95 96
96 virtual sandbox::BrokerServices* broker_services() = 0; 97 virtual sandbox::BrokerServices* broker_services() = 0;
97 98
98 virtual IconManager* icon_manager() = 0; 99 virtual IconManager* icon_manager() = 0;
99 100
100 virtual void InitBrokerServices(sandbox::BrokerServices*) = 0; 101 virtual void InitBrokerServices(sandbox::BrokerServices*) = 0;
101 virtual AutomationProviderList* InitAutomationProviderList() = 0; 102 virtual AutomationProviderList* InitAutomationProviderList() = 0;
102 103
103 virtual void InitDebuggerWrapper(int port) = 0; 104 virtual void InitDebuggerWrapper(int port) = 0;
(...skipping 29 matching lines...) Expand all
133 private: 134 private:
134 // User-data-dir based profiles. 135 // User-data-dir based profiles.
135 std::vector<std::wstring> user_data_dir_profiles_; 136 std::vector<std::wstring> user_data_dir_profiles_;
136 137
137 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); 138 DISALLOW_COPY_AND_ASSIGN(BrowserProcess);
138 }; 139 };
139 140
140 extern BrowserProcess* g_browser_process; 141 extern BrowserProcess* g_browser_process;
141 142
142 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ 143 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698