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

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

Issue 7545004: Component update (part 6), wire sigleton to browser (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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_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_
11 #define CHROME_BROWSER_BROWSER_PROCESS_H_ 11 #define CHROME_BROWSER_BROWSER_PROCESS_H_
12 #pragma once 12 #pragma once
13 13
14 #include <string> 14 #include <string>
15 #include <vector> 15 #include <vector>
16 16
17 #include "base/basictypes.h" 17 #include "base/basictypes.h"
18 #include "base/memory/ref_counted.h" 18 #include "base/memory/ref_counted.h"
19 #include "ipc/ipc_message.h" 19 #include "ipc/ipc_message.h"
20 20
21 class AutomationProviderList; 21 class AutomationProviderList;
22 class BackgroundModeManager; 22 class BackgroundModeManager;
23 class ChromeNetLog; 23 class ChromeNetLog;
24 class ComponentUpdateService;
24 class DevToolsManager; 25 class DevToolsManager;
25 class DownloadRequestLimiter; 26 class DownloadRequestLimiter;
26 class DownloadStatusUpdater; 27 class DownloadStatusUpdater;
27 class ExtensionEventRouterForwarder; 28 class ExtensionEventRouterForwarder;
28 class GpuBlacklistUpdater; 29 class GpuBlacklistUpdater;
29 class GoogleURLTracker; 30 class GoogleURLTracker;
30 class IconManager; 31 class IconManager;
31 class IntranetRedirectDetector; 32 class IntranetRedirectDetector;
32 class IOThread; 33 class IOThread;
33 class MetricsService; 34 class MetricsService;
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 } 240 }
240 241
241 void set_plugin_data_remover_mime_type(const std::string& mime_type) { 242 void set_plugin_data_remover_mime_type(const std::string& mime_type) {
242 plugin_data_remover_mime_type_ = mime_type; 243 plugin_data_remover_mime_type_ = mime_type;
243 } 244 }
244 245
245 virtual MHTMLGenerationManager* mhtml_generation_manager() = 0; 246 virtual MHTMLGenerationManager* mhtml_generation_manager() = 0;
246 247
247 virtual GpuBlacklistUpdater* gpu_blacklist_updater() = 0; 248 virtual GpuBlacklistUpdater* gpu_blacklist_updater() = 0;
248 249
250 virtual ComponentUpdateService* component_updater() = 0;
251
249 private: 252 private:
250 // User-data-dir based profiles. 253 // User-data-dir based profiles.
251 std::vector<std::wstring> user_data_dir_profiles_; 254 std::vector<std::wstring> user_data_dir_profiles_;
252 255
253 // Used for testing plugin data removal at shutdown. 256 // Used for testing plugin data removal at shutdown.
254 std::string plugin_data_remover_mime_type_; 257 std::string plugin_data_remover_mime_type_;
255 258
256 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); 259 DISALLOW_COPY_AND_ASSIGN(BrowserProcess);
257 }; 260 };
258 261
259 extern BrowserProcess* g_browser_process; 262 extern BrowserProcess* g_browser_process;
260 263
261 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ 264 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698