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

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

Issue 16369004: Adding --disable-plugins-discovery command line switch to not load third-party plugins from common … (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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
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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 // Download status updates (like a changing application icon on dock/taskbar) 241 // Download status updates (like a changing application icon on dock/taskbar)
242 // are global per-application. DownloadStatusUpdater does no work in the ctor 242 // are global per-application. DownloadStatusUpdater does no work in the ctor
243 // so we don't have to worry about lazy initialization. 243 // so we don't have to worry about lazy initialization.
244 scoped_ptr<DownloadStatusUpdater> download_status_updater_; 244 scoped_ptr<DownloadStatusUpdater> download_status_updater_;
245 245
246 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; 246 scoped_refptr<DownloadRequestLimiter> download_request_limiter_;
247 247
248 // Sequenced task runner for local state related I/O tasks. 248 // Sequenced task runner for local state related I/O tasks.
249 const scoped_refptr<base::SequencedTaskRunner> local_state_task_runner_; 249 const scoped_refptr<base::SequencedTaskRunner> local_state_task_runner_;
250 250
251 // Command line of the current process.
252 const CommandLine& command_line_;
Bernhard Bauer 2013/06/06 08:28:50 Why do you need this as a member variable?
seva 2013/06/06 22:11:25 This saves two CommandLine::ForCurrentProcess() ca
Bernhard Bauer 2013/06/07 10:33:43 No, I think it's fine. I was going to say that thi
253
251 // Ensures that the observers of plugin/print disable/enable state 254 // Ensures that the observers of plugin/print disable/enable state
252 // notifications are properly added and removed. 255 // notifications are properly added and removed.
253 PrefChangeRegistrar pref_change_registrar_; 256 PrefChangeRegistrar pref_change_registrar_;
254 257
255 // Lives here so can safely log events on shutdown. 258 // Lives here so can safely log events on shutdown.
256 scoped_ptr<ChromeNetLog> net_log_; 259 scoped_ptr<ChromeNetLog> net_log_;
257 260
258 // Ordered before resource_dispatcher_host_delegate_ due to destruction 261 // Ordered before resource_dispatcher_host_delegate_ due to destruction
259 // ordering. 262 // ordering.
260 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_; 263 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 301
299 #if defined(ENABLE_WEBRTC) 302 #if defined(ENABLE_WEBRTC)
300 // Lazily initialized. 303 // Lazily initialized.
301 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_; 304 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_;
302 #endif 305 #endif
303 306
304 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 307 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
305 }; 308 };
306 309
307 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 310 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.cc » ('j') | chrome/browser/browser_process_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698