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

Side by Side Diff: chrome/browser/browser_process_impl.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/browser_process.h ('k') | chrome/browser/browser_process_impl.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) 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 // When each service is created, we set a flag indicating this. At this point, 5 // When each service is created, we set a flag indicating this. At this point,
6 // the service initialization could fail or succeed. This allows us to remember 6 // the service initialization could fail or succeed. This allows us to remember
7 // if we tried to create a service, and not try creating it over and over if 7 // if we tried to create a service, and not try creating it over and over if
8 // the creation failed. 8 // the creation failed.
9 9
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 printing::BackgroundPrintingManager* background_printing_manager() override; 119 printing::BackgroundPrintingManager* background_printing_manager() override;
120 IntranetRedirectDetector* intranet_redirect_detector() override; 120 IntranetRedirectDetector* intranet_redirect_detector() override;
121 const std::string& GetApplicationLocale() override; 121 const std::string& GetApplicationLocale() override;
122 void SetApplicationLocale(const std::string& locale) override; 122 void SetApplicationLocale(const std::string& locale) override;
123 DownloadStatusUpdater* download_status_updater() override; 123 DownloadStatusUpdater* download_status_updater() override;
124 DownloadRequestLimiter* download_request_limiter() override; 124 DownloadRequestLimiter* download_request_limiter() override;
125 BackgroundModeManager* background_mode_manager() override; 125 BackgroundModeManager* background_mode_manager() override;
126 void set_background_mode_manager_for_test( 126 void set_background_mode_manager_for_test(
127 scoped_ptr<BackgroundModeManager> manager) override; 127 scoped_ptr<BackgroundModeManager> manager) override;
128 StatusTray* status_tray() override; 128 StatusTray* status_tray() override;
129 SafeBrowsingService* safe_browsing_service() override; 129 safe_browsing::SafeBrowsingService* safe_browsing_service() override;
130 safe_browsing::ClientSideDetectionService* safe_browsing_detection_service() 130 safe_browsing::ClientSideDetectionService* safe_browsing_detection_service()
131 override; 131 override;
132 132
133 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 133 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
134 void StartAutoupdateTimer() override; 134 void StartAutoupdateTimer() override;
135 #endif 135 #endif
136 136
137 net_log::ChromeNetLog* net_log() override; 137 net_log::ChromeNetLog* net_log() override;
138 component_updater::ComponentUpdateService* component_updater() override; 138 component_updater::ComponentUpdateService* component_updater() override;
139 CRLSetFetcher* crl_set_fetcher() override; 139 CRLSetFetcher* crl_set_fetcher() override;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 235
236 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_; 236 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_;
237 237
238 scoped_ptr<StatusTray> status_tray_; 238 scoped_ptr<StatusTray> status_tray_;
239 239
240 #if defined(ENABLE_BACKGROUND) 240 #if defined(ENABLE_BACKGROUND)
241 scoped_ptr<BackgroundModeManager> background_mode_manager_; 241 scoped_ptr<BackgroundModeManager> background_mode_manager_;
242 #endif 242 #endif
243 243
244 bool created_safe_browsing_service_; 244 bool created_safe_browsing_service_;
245 scoped_refptr<SafeBrowsingService> safe_browsing_service_; 245 scoped_refptr<safe_browsing::SafeBrowsingService> safe_browsing_service_;
246 246
247 unsigned int module_ref_count_; 247 unsigned int module_ref_count_;
248 bool did_start_; 248 bool did_start_;
249 249
250 // Ensures that all the print jobs are finished before closing the browser. 250 // Ensures that all the print jobs are finished before closing the browser.
251 scoped_ptr<printing::PrintJobManager> print_job_manager_; 251 scoped_ptr<printing::PrintJobManager> print_job_manager_;
252 252
253 std::string locale_; 253 std::string locale_;
254 254
255 // Download status updates (like a changing application icon on dock/taskbar) 255 // Download status updates (like a changing application icon on dock/taskbar)
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 // chrome/browser/memory/tab_manager_browsertest.cc 328 // chrome/browser/memory/tab_manager_browsertest.cc
329 scoped_ptr<memory::TabManager> tab_manager_; 329 scoped_ptr<memory::TabManager> tab_manager_;
330 #endif 330 #endif
331 331
332 ShellIntegration::DefaultWebClientState cached_default_web_client_state_; 332 ShellIntegration::DefaultWebClientState cached_default_web_client_state_;
333 333
334 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 334 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
335 }; 335 };
336 336
337 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 337 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_process.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698