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

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

Issue 12817: A new copy of the old system monitor changelist. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years 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) 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 virtual printing::PrintJobManager* print_job_manager() = 0; 116 virtual printing::PrintJobManager* print_job_manager() = 0;
117 117
118 virtual GoogleURLTracker* google_url_tracker() = 0; 118 virtual GoogleURLTracker* google_url_tracker() = 0;
119 119
120 // Returns the locale used by the application. 120 // Returns the locale used by the application.
121 virtual const std::wstring& GetApplicationLocale() = 0; 121 virtual const std::wstring& GetApplicationLocale() = 0;
122 122
123 virtual MemoryModel memory_model() = 0; 123 virtual MemoryModel memory_model() = 0;
124 124
125 virtual SuspendController* suspend_controller() = 0;
126
127 #if defined(OS_WIN) 125 #if defined(OS_WIN)
128 DownloadRequestManager* download_request_manager() { 126 DownloadRequestManager* download_request_manager() {
129 ResourceDispatcherHost* rdh = resource_dispatcher_host(); 127 ResourceDispatcherHost* rdh = resource_dispatcher_host();
130 return rdh ? rdh->download_request_manager() : NULL; 128 return rdh ? rdh->download_request_manager() : NULL;
131 } 129 }
132 130
133 // Returns an event that is signaled when the browser shutdown. 131 // Returns an event that is signaled when the browser shutdown.
134 virtual HANDLE shutdown_event() = 0; 132 virtual HANDLE shutdown_event() = 0;
135 #endif 133 #endif
136 134
137 private: 135 private:
138 DISALLOW_EVIL_CONSTRUCTORS(BrowserProcess); 136 DISALLOW_EVIL_CONSTRUCTORS(BrowserProcess);
139 }; 137 };
140 138
141 extern BrowserProcess* g_browser_process; 139 extern BrowserProcess* g_browser_process;
142 140
143 #endif // CHROME_BROWSER_BROWSER_PROCESS_H__ 141 #endif // CHROME_BROWSER_BROWSER_PROCESS_H__
144 142
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