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

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

Issue 113925: Linux: work around the fact that the download dialog has not been ported.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 | « no previous file | chrome/browser/browser_process.cc » ('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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 123
124 virtual printing::PrintJobManager* print_job_manager() = 0; 124 virtual printing::PrintJobManager* print_job_manager() = 0;
125 125
126 virtual GoogleURLTracker* google_url_tracker() = 0; 126 virtual GoogleURLTracker* google_url_tracker() = 0;
127 127
128 // Returns the locale used by the application. 128 // Returns the locale used by the application.
129 virtual const std::wstring& GetApplicationLocale() = 0; 129 virtual const std::wstring& GetApplicationLocale() = 0;
130 130
131 virtual MemoryModel memory_model() = 0; 131 virtual MemoryModel memory_model() = 0;
132 132
133 #if defined(OS_WIN) 133 #if defined(OS_WIN) || defined(OS_LINUX)
134 DownloadRequestManager* download_request_manager(); 134 DownloadRequestManager* download_request_manager();
135 #endif 135 #endif
136 136
137 // Returns an event that is signaled when the browser shutdown. 137 // Returns an event that is signaled when the browser shutdown.
138 virtual base::WaitableEvent* shutdown_event() = 0; 138 virtual base::WaitableEvent* shutdown_event() = 0;
139 139
140 // Returns a reference to the user-data-dir based profiles vector. 140 // Returns a reference to the user-data-dir based profiles vector.
141 std::vector<std::wstring>& user_data_dir_profiles() { 141 std::vector<std::wstring>& user_data_dir_profiles() {
142 return user_data_dir_profiles_; 142 return user_data_dir_profiles_;
143 } 143 }
144 144
145 private: 145 private:
146 // User-data-dir based profiles. 146 // User-data-dir based profiles.
147 std::vector<std::wstring> user_data_dir_profiles_; 147 std::vector<std::wstring> user_data_dir_profiles_;
148 148
149 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); 149 DISALLOW_COPY_AND_ASSIGN(BrowserProcess);
150 }; 150 };
151 151
152 extern BrowserProcess* g_browser_process; 152 extern BrowserProcess* g_browser_process;
153 153
154 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ 154 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698