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

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

Issue 8413023: Remove --no-startup-window flag when restarting chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also remove kRestoreLastSession on restart so it does not persist. Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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) 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 // 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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 // Monitors the state of the 'DisablePluginFinder' policy. 297 // Monitors the state of the 'DisablePluginFinder' policy.
298 BooleanPrefMember plugin_finder_disabled_pref_; 298 BooleanPrefMember plugin_finder_disabled_pref_;
299 299
300 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 300 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
301 base::RepeatingTimer<BrowserProcessImpl> autoupdate_timer_; 301 base::RepeatingTimer<BrowserProcessImpl> autoupdate_timer_;
302 302
303 // Gets called by autoupdate timer to see if browser needs restart and can be 303 // Gets called by autoupdate timer to see if browser needs restart and can be
304 // restarted, and if that's the case, restarts the browser. 304 // restarted, and if that's the case, restarts the browser.
305 void OnAutoupdateTimer(); 305 void OnAutoupdateTimer();
306 bool CanAutorestartForUpdate() const; 306 bool CanAutorestartForUpdate() const;
307 void RestartPersistentInstance(); 307 void RestartBackgroundInstance();
308 #endif // defined(OS_WIN) || defined(OS_LINUX) 308 #endif // defined(OS_WIN) || defined(OS_LINUX)
309 309
310 #if defined(OS_CHROMEOS) 310 #if defined(OS_CHROMEOS)
311 scoped_refptr<chromeos::ProxyConfigServiceImpl> 311 scoped_refptr<chromeos::ProxyConfigServiceImpl>
312 chromeos_proxy_config_service_impl_; 312 chromeos_proxy_config_service_impl_;
313 scoped_ptr<browser::OomPriorityManager> oom_priority_manager_; 313 scoped_ptr<browser::OomPriorityManager> oom_priority_manager_;
314 #endif 314 #endif
315 315
316 // Per-process listener for online state changes. 316 // Per-process listener for online state changes.
317 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; 317 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_;
318 318
319 scoped_refptr<GpuBlacklistUpdater> gpu_blacklist_updater_; 319 scoped_refptr<GpuBlacklistUpdater> gpu_blacklist_updater_;
320 320
321 #if !defined(OS_CHROMEOS) 321 #if !defined(OS_CHROMEOS)
322 scoped_ptr<ComponentUpdateService> component_updater_; 322 scoped_ptr<ComponentUpdateService> component_updater_;
323 323
324 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; 324 scoped_refptr<CRLSetFetcher> crl_set_fetcher_;
325 #endif 325 #endif
326 326
327 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 327 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
328 }; 328 };
329 329
330 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 330 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698