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

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

Issue 1420053005: Move code in components/safe_browsing_db and chrome/browser/s_b/ under the safe_browsing namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@02_components_move
Patch Set: Remove '// namespace safe_browsing' for a small fwd decl block. Created 5 years, 1 month 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
« no previous file with comments | « chrome/browser/android/chrome_application.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 15 matching lines...) Expand all
26 class GpuModeManager; 26 class GpuModeManager;
27 class IconManager; 27 class IconManager;
28 class IntranetRedirectDetector; 28 class IntranetRedirectDetector;
29 class IOThread; 29 class IOThread;
30 class MediaFileSystemRegistry; 30 class MediaFileSystemRegistry;
31 class NotificationUIManager; 31 class NotificationUIManager;
32 class PrefRegistrySimple; 32 class PrefRegistrySimple;
33 class PrefService; 33 class PrefService;
34 class Profile; 34 class Profile;
35 class ProfileManager; 35 class ProfileManager;
36 class SafeBrowsingService;
37 class StatusTray; 36 class StatusTray;
38 class WatchDogThread; 37 class WatchDogThread;
39 #if defined(ENABLE_WEBRTC) 38 #if defined(ENABLE_WEBRTC)
40 class WebRtcLogUploader; 39 class WebRtcLogUploader;
41 #endif 40 #endif
42 41
42 namespace safe_browsing {
43 class SafeBrowsingService;
44 }
45
43 namespace variations { 46 namespace variations {
44 class VariationsService; 47 class VariationsService;
45 } 48 }
46 49
47 namespace component_updater { 50 namespace component_updater {
48 class ComponentUpdateService; 51 class ComponentUpdateService;
49 class PnaclComponentInstaller; 52 class PnaclComponentInstaller;
50 class SupervisedUserWhitelistInstaller; 53 class SupervisedUserWhitelistInstaller;
51 } 54 }
52 55
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 virtual BackgroundModeManager* background_mode_manager() = 0; 208 virtual BackgroundModeManager* background_mode_manager() = 0;
206 virtual void set_background_mode_manager_for_test( 209 virtual void set_background_mode_manager_for_test(
207 scoped_ptr<BackgroundModeManager> manager) = 0; 210 scoped_ptr<BackgroundModeManager> manager) = 0;
208 211
209 // Returns the StatusTray, which provides an API for displaying status icons 212 // Returns the StatusTray, which provides an API for displaying status icons
210 // in the system status tray. Returns NULL if status icons are not supported 213 // in the system status tray. Returns NULL if status icons are not supported
211 // on this platform (or this is a unit test). 214 // on this platform (or this is a unit test).
212 virtual StatusTray* status_tray() = 0; 215 virtual StatusTray* status_tray() = 0;
213 216
214 // Returns the SafeBrowsing service. 217 // Returns the SafeBrowsing service.
215 virtual SafeBrowsingService* safe_browsing_service() = 0; 218 virtual safe_browsing::SafeBrowsingService* safe_browsing_service() = 0;
216 219
217 // Returns an object which handles communication with the SafeBrowsing 220 // Returns an object which handles communication with the SafeBrowsing
218 // client-side detection servers. 221 // client-side detection servers.
219 virtual safe_browsing::ClientSideDetectionService* 222 virtual safe_browsing::ClientSideDetectionService*
220 safe_browsing_detection_service() = 0; 223 safe_browsing_detection_service() = 0;
221 224
222 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 225 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
223 // This will start a timer that, if Chrome is in persistent mode, will check 226 // This will start a timer that, if Chrome is in persistent mode, will check
224 // whether an update is available, and if that's the case, restart the 227 // whether an update is available, and if that's the case, restart the
225 // browser. Note that restart code will strip some of the command line keys 228 // browser. Note that restart code will strip some of the command line keys
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 virtual ShellIntegration::DefaultWebClientState 266 virtual ShellIntegration::DefaultWebClientState
264 CachedDefaultWebClientState() = 0; 267 CachedDefaultWebClientState() = 0;
265 268
266 private: 269 private:
267 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); 270 DISALLOW_COPY_AND_ASSIGN(BrowserProcess);
268 }; 271 };
269 272
270 extern BrowserProcess* g_browser_process; 273 extern BrowserProcess* g_browser_process;
271 274
272 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ 275 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_application.cc ('k') | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698