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

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

Issue 7374008: Move download stuff from download helper back to TabContents. This is basically a revert of r8576... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 9 years, 5 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) 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 virtual printing::BackgroundPrintingManager* 172 virtual printing::BackgroundPrintingManager*
173 background_printing_manager() = 0; 173 background_printing_manager() = 0;
174 174
175 virtual GoogleURLTracker* google_url_tracker() = 0; 175 virtual GoogleURLTracker* google_url_tracker() = 0;
176 virtual IntranetRedirectDetector* intranet_redirect_detector() = 0; 176 virtual IntranetRedirectDetector* intranet_redirect_detector() = 0;
177 177
178 // Returns the locale used by the application. 178 // Returns the locale used by the application.
179 virtual const std::string& GetApplicationLocale() = 0; 179 virtual const std::string& GetApplicationLocale() = 0;
180 virtual void SetApplicationLocale(const std::string& locale) = 0; 180 virtual void SetApplicationLocale(const std::string& locale) = 0;
181 181
182 DownloadRequestLimiter* download_request_limiter();
183 virtual DownloadStatusUpdater* download_status_updater() = 0; 182 virtual DownloadStatusUpdater* download_status_updater() = 0;
184 183
185 // Returns a reference to the user-data-dir based profiles vector. 184 // Returns a reference to the user-data-dir based profiles vector.
186 std::vector<std::wstring>& user_data_dir_profiles() { 185 std::vector<std::wstring>& user_data_dir_profiles() {
187 return user_data_dir_profiles_; 186 return user_data_dir_profiles_;
188 } 187 }
189 188
190 // Returns the object that watches for changes in the closeable state of tab. 189 // Returns the object that watches for changes in the closeable state of tab.
191 virtual TabCloseableStateWatcher* tab_closeable_state_watcher() = 0; 190 virtual TabCloseableStateWatcher* tab_closeable_state_watcher() = 0;
192 191
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 247
249 // Used for testing plugin data removal at shutdown. 248 // Used for testing plugin data removal at shutdown.
250 std::string plugin_data_remover_mime_type_; 249 std::string plugin_data_remover_mime_type_;
251 250
252 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); 251 DISALLOW_COPY_AND_ASSIGN(BrowserProcess);
253 }; 252 };
254 253
255 extern BrowserProcess* g_browser_process; 254 extern BrowserProcess* g_browser_process;
256 255
257 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ 256 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process.cc » ('j') | chrome/browser/external_tab_container_win.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698