summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main_posix.cc
Commit message (Collapse)AuthorAgeFilesLines
* Update references to the now-gone LaunchApp() from the code.evan@chromium.org2011-07-191-1/+1
| | | | | | | | BUG=88990 Review URL: http://codereview.chromium.org/7423003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93035 0039d316-1c4b-4281-b951-d872f2087c98
* Don't set exit_cleanly bit early if shutdown can be canceled.oshima@google.com2011-06-281-4/+7
| | | | | | | | | | | Cleanups: Added Browser::Restart. Moved code around to reduce if/defs. Updated the comment of APP_EXITING to emphasize the difference from APP_TERMINATING. Review URL: http://codereview.chromium.org/7129027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90839 0039d316-1c4b-4281-b951-d872f2087c98
* Replace many OS_LINUX ifdefs with OS_POSIX & !OS_MACOSX, since most of them ↵chromium@hybridsource.org2011-05-281-3/+3
| | | | | | | | apply to non-linux Unix also. Non-linux Unices tested are the BSDs and Solaris. Review URL: http://codereview.chromium.org/3556009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87156 0039d316-1c4b-4281-b951-d872f2087c98
* Add shutdown trace functionsdavemoore@chromium.org2011-05-091-1/+26
| | | | | | | | | BUG=chromium-os:14737 TEST=None Review URL: http://codereview.chromium.org/6943001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84662 0039d316-1c4b-4281-b951-d872f2087c98
* Drop RAW_LOGs that describe ordinary conditions nobody cares about.mark@chromium.org2011-04-191-6/+0
| | | | | | | | | | | | | This eliminates console spew of the form: Handling SIGTERM in renderer. Wrote signal to shutdown pipe. BUG=58347 TEST=These messages shouldn't be logged any more Review URL: http://codereview.chromium.org/6879040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82117 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Refactor PrintDialogGtk in preparation for adding dialog-less printing.thestig@chromium.org2011-04-111-3/+2
| | | | | | | | BUG=none TEST=Printing on Linux still works. Review URL: http://codereview.chromium.org/6811016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81069 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Update a bunch of files to the new location of browser_list.h. Part ↵tfarina@chromium.org2011-04-061-1/+1
| | | | | | | | | | | | | 1/3. BUG=None TEST=None R=avi@chromium.org Review URL: http://codereview.chromium.org/6689029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80632 0039d316-1c4b-4281-b951-d872f2087c98
* startup: move some browser-specific startup into browser_mainevan@chromium.org2011-03-021-0/+11
| | | | | | | | | This code only affects the browser process, so put it into the browser process startup code instead of the shared code. Review URL: http://codereview.chromium.org/6602096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76655 0039d316-1c4b-4281-b951-d872f2087c98
* Update a bunch of files to the new location of browser_thread.hjam@chromium.org2011-03-011-1/+1
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6594063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76357 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Refactor printing to be more linux Windows/Mac.thestig@chromium.org2011-02-191-1/+13
| | | | | | | | BUG=41543,59732 TEST=Printing works on Linux and CrOS, Linux printing respect print dialog settings. Review URL: http://codereview.chromium.org/6516022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75475 0039d316-1c4b-4281-b951-d872f2087c98
* Move platform_thread to base/threading and put in the base namespace. I left abrettw@chromium.org2010-12-311-5/+6
| | | | | | | | | | | stub and "using" declarations in the old location to avoid having to change the entire project at once. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/6001010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70342 0039d316-1c4b-4281-b951-d872f2087c98
* Fix in BrowserTest.PosixSessionEnd in ui_tests failure on dbg build for ↵satorux@chromium.org2010-11-241-8/+0
| | | | | | | | | | | | | | | | | | | | Chrome OS The test failed as use of Singleton is not allowed in non-joinable threads since http://src.chromium.org/viewvc/chrome?view=rev&revision=66719 We could make BootTimesLoader a leaky singoeton to fix the failure, but instead, the change removes the use of BootTimesLoader in the shutdown detector thread. The time spent from the previous check point (LogoutStarted) is negligible as shown in http://codereview.chromium.org/4973002/ hence it should be fine. BUG=chromium-os:9592 TEST=out/Debug/ui_tests --gtest_filter='BrowserTest.PosixSessionEnd' Review URL: http://codereview.chromium.org/5339007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67214 0039d316-1c4b-4281-b951-d872f2087c98
* Record logout time stats for Chrome OS.satorux@chromium.org2010-11-221-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Record lougout time stats and dump it to /tmp/logout-times-sent. ShutdownTime.Logout, ShutdownTime.UIMessageLoopEnded, and ShutdownTime.BrowserDeleted will be sent to UMA, as well. % cat /tmp/logout-times-sent ShutdownTime.Logout: 0.39 0.00 +0.00 LogoutStarted 0.00 +0.00 ShutdownDetected 0.02 +0.02 StartedClosingWindows 0.27 +0.25 UIMessageLoopEnded 0.27 +0.00 BrowserShutdownStarted 0.39 +0.12 BrowserDeleted 0.39 +0.00 BrowserMainEnded Along the way, change BootTimesLoader to append data to existing /tmp/uptime-* files just like /sbin/bootstat does, so we can collect numbers from 2nd login as well. BUG=chromium-os:6847 TEST=confirmed that /tmp/login-times-sent and /tmp/logout-times-sent are written properly. Review URL: http://codereview.chromium.org/4973002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66923 0039d316-1c4b-4281-b951-d872f2087c98
* startup: move some browser startup code into BrowserMainevan@chromium.org2010-11-121-9/+0
| | | | | | | | | | | | There was a block of code that was #ifdef LINUX right before our call to BrowserMain(). We can instead put that code into BrowserMain(), which knows how to delegate to multiple platforms. TEST=should be just a refactoring change, all tests should still pass Review URL: http://codereview.chromium.org/4579002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65892 0039d316-1c4b-4281-b951-d872f2087c98
* Convert LOG(INFO) to VLOG(1) - misc. chrome/browser/*.pkasting@chromium.org2010-10-211-1/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/4008001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63421 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ChromeThread to BrowserThread Part19:tfarina@chromium.org2010-10-121-1/+1
| | | | | | | | | | | - Include browser_thread.h instead of chrome_thread.h in more 65 files. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3717003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62226 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ChromeThread to BrowserThread Part14:tfarina@chromium.org2010-10-101-2/+2
| | | | | | | | | | | - Rename the entries under the first 40 files. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3667002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62126 0039d316-1c4b-4281-b951-d872f2087c98
* Add new chromeos specific message loop observer to map Alt-Click todavemoore@chromium.org2010-10-081-2/+2
| | | | | | | | | | | | | | right click. BUG=chromium-os:7239 TEST=Hold Alt key while clicking (or tapping with that enabled) Context menu should appear. Ensure it works in tabs, empty part of tab strip, web content, text input areas, links. Review URL: http://codereview.chromium.org/3551019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62008 0039d316-1c4b-4281-b951-d872f2087c98
* Convert more callers of the integer/string functions to usingbrettw@chromium.org2010-07-311-2/+2
| | | | | | | | | | string_number_conversions.h TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3013046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54454 0039d316-1c4b-4281-b951-d872f2087c98
* Add a comment about a leak/suppression.viettrungluu@chromium.org2010-07-271-0/+2
| | | | | | | | | | BUG=29675 TEST=none TBR=evan@chromium.org,willchan@chromium.org Review URL: http://codereview.chromium.org/2884041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53801 0039d316-1c4b-4281-b951-d872f2087c98
* BrowserMain() refactoring, part 2.viettrungluu@chromium.org2010-07-271-63/+60
| | | | | | | | | | | | Add "MainMessageLoopStart()" and related platform methods to handle tasks directly tied to the start of the main message loop. BUG=none TEST=everything still works Review URL: http://codereview.chromium.org/2931007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53783 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Set thread name on ShutdownDetector thread.mattm@chromium.org2010-07-231-0/+2
| | | | | | | | | BUG=none TEST=enable the posix PlatformThread::SetName, cat /proc/<chromepid>/task/*/stat Review URL: http://codereview.chromium.org/3035019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53496 0039d316-1c4b-4281-b951-d872f2087c98
* Posix: Stop crashing on SIG{INT|HUP|TERM}.willchan@chromium.org2010-07-121-18/+18
| | | | | | | | BUG=48637 Review URL: http://codereview.chromium.org/2927008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52098 0039d316-1c4b-4281-b951-d872f2087c98
* Start at cleaning up BrowserMain().viettrungluu@chromium.org2010-07-071-0/+228
BUG=none (or is there?) TEST=trybots and tests Review URL: http://codereview.chromium.org/2234006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51763 0039d316-1c4b-4281-b951-d872f2087c98