summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename the Chrome BrowserMainParts implementations to all start with Chrome. ↵jam@chromium.org2011-09-081-148/+0
| | | | | | | | | The classes already got renamed once BrowserMainParts moved to content. This just renames the file names. BUG=90445 Review URL: http://codereview.chromium.org/7841049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100269 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor some more BrowserMain code. Move the small bit of remaining code ↵jam@chromium.org2011-09-081-7/+16
| | | | | | | | | that's required by all embedders to content. BUG=90445 Review URL: http://codereview.chromium.org/7840041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100223 0039d316-1c4b-4281-b951-d872f2087c98
* Start moving code from BrowserMain to content, so that it can be reused by ↵jam@chromium.org2011-09-071-108/+16
| | | | | | | | all embedders of content. I've based the refactoring on the existing BrowserMainParts. This is the first step; I didn't want to do it all at the same time because it would be too big. Remaining tasks:-rename the browser_main files in chrome to chrome_browser_main-move the OS specific implementations of BrowserMainParts that are needed for content-finish splitting the remaining BrowserMain function (now that's in TemporaryContinue())BUG=90445 Review URL: http://codereview.chromium.org/7779040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99884 0039d316-1c4b-4281-b951-d872f2087c98
* Move HistogramSynchronizer initialization to BrowserMainParts.stevenjb@chromium.org2011-09-031-0/+10
| | | | | | | | | | | | | | This allows HistogramSynchronizer to be released before main_message_loop_ (which it accesses in its destructor). A change that caused BrowserParts to be destroyed explicitly before the end of BrowserMain (and thus before local variable destruction) introduced the associated crash bug. BUG=chromium:95240 TEST=Ensure Chrome exits cleanly (especially on Mac and Windows). Review URL: http://codereview.chromium.org/7832010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99522 0039d316-1c4b-4281-b951-d872f2087c98
* Make a channel and time limited persistent PreRead experimentchrisha@chromium.org2011-08-261-0/+5
| | | | | | | | | | | | | | Our previous PreRead experiment involved flipping a coin on every launch, but we wish to persist the coin-toss between launches. Additionally, this version of the field trial includes an expiry date and limits it to the canary and dev channels. We are unable to use the FieldTrial mechanism due to PreRead occuring prior to chrome.dll being loaded. As such, we use the registry for persisting the coin-toss and environment variables for communicating between chrome.exe and chrome.dll. Initially Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98319 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=98388 Review URL: http://codereview.chromium.org/7712014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98482 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98319 - Make a channel and time limited persistent PreRead experimentchrisha@google.com2011-08-261-5/+0
| | | | | | | | | | | | | Our previous PreRead experiment involved flipping a coin on every launch, but we wish to persist the coin-toss between launches. Additionally, this version of the field trial includes an expiry date and limits it to the canary and dev channels. We are unable to use the FieldTrial mechanism due to PreRead occuring prior to chrome.dll being loaded. As such, we use the registry for persisting the coin-toss and environment variables for communicating between chrome.exe and chrome.dll. Review URL: http://codereview.chromium.org/7712014 TBR=chrisha@chromium.org Review URL: http://codereview.chromium.org/7749030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98388 0039d316-1c4b-4281-b951-d872f2087c98
* Make a channel and time limited persistent PreRead experimentchrisha@chromium.org2011-08-251-0/+5
| | | | | | | | | | Our previous PreRead experiment involved flipping a coin on every launch, but we wish to persist the coin-toss between launches. Additionally, this version of the field trial includes an expiry date and limits it to the canary and dev channels. We are unable to use the FieldTrial mechanism due to PreRead occuring prior to chrome.dll being loaded. As such, we use the registry for persisting the coin-toss and environment variables for communicating between chrome.exe and chrome.dll. Review URL: http://codereview.chromium.org/7712014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98319 0039d316-1c4b-4281-b951-d872f2087c98
* Roll back PreRead experimentchrisha@chromium.org2011-08-201-7/+0
| | | | | | | | | | | | This CL removes the pre-read experiment introduced in revision 95579. http://src.chromium.org/viewvc/chrome?view=rev&revision=95579 BUG=none TEST=none Review URL: http://codereview.chromium.org/7690007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97556 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Modifying prefetch to account for multi-profile."avi@chromium.org2011-08-191-4/+0
| | | | | | | | | | | | | | This appears to make all the CF bots crash in chrome_frame_net_tests. This reverts commit r97446. BUG=89937 TEST=n/a TBR=rlp Review URL: http://codereview.chromium.org/7685009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97467 0039d316-1c4b-4281-b951-d872f2087c98
* Modifying prefetch to account for multi-profile.rlp@chromium.org2011-08-191-0/+4
| | | | | | | | | | | | | | | | | | Items of note: - predictor_api is gone. Most functions in predictor_api.cc have moved into the chrome_browser_net::Predictor class or the Profile class. - The predictor state is cleaned up in the Profile dtor. - Predictor is owned by the ProfileIOData of the profile. - InitialObserver class is gone since each profile keeps their own info, the non-OTR don't care if anyone is OTR. - Predictor is created by the profile and then passed to the ProfileIOData. Then its initialization is finished on the IOThread. - ConnectInterceptor now subclasses off of UrlRequestJobFactory::Interceptor. - Updated Profile to create a SimpleShutdownPredictor with limited functionality when in unittests. BUG=89937 TEST=passes existing Review URL: http://codereview.chromium.org/7467012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97446 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: base/scoped_ptr.h -> base/memory/scoped_ptr.h. (part 4)thestig@chromium.org2011-08-181-1/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7670016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97286 0039d316-1c4b-4281-b951-d872f2087c98
* If no locale data files can be found, show a dialog and exittony@chromium.org2011-08-121-0/+9
| | | | | | | | | | | with RESULT_CODE_MISSING_DATA. We used to just CHECK() crash. BUG=69194 Review URL: http://codereview.chromium.org/7610009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96627 0039d316-1c4b-4281-b951-d872f2087c98
* Make a pre-read A/B field-trialchrisha@chromium.org2011-08-051-0/+7
| | | | | | | | | | | This CL disables/enables the Windows pre-read optimization based on a client-side coin-toss. The base::FieldTrial mechanism has not been used as it is not available until *after* chrome.dll is loaded, and this needs to occur before. BUG=none TEST=none Review URL: http://codereview.chromium.org/7508034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95579 0039d316-1c4b-4281-b951-d872f2087c98
* Run experiment to see impact of reusing host in autosuggest and searchjar@chromium.org2011-07-281-2/+6
| | | | | | | | | | This will only impact Google auto-suggest, and Google search. BUG=90876 r=pkasting Review URL: http://codereview.chromium.org/7486006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94560 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce a policy to control the maximal number of connections per proxy ↵pastarmovj@chromium.org2011-07-111-1/+2
| | | | | | | | | | | server. BUG=63658 TEST=All policy unit_tests should pass. Review URL: http://codereview.chromium.org/7326017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91998 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 91842 - Introduce a policy to control the maximal number of ↵johnme@google.com2011-07-081-2/+1
| | | | | | | | | | | | | | connections per proxy server. Reverted commit details: BUG=63658 TEST=All policy unit_tests should pass. Review URL: http://codereview.chromium.org/7283018 TBR=pastarmovj@chromium.org Review URL: http://codereview.chromium.org/7326011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91843 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce a policy to control the maximal number of connections per proxy ↵pastarmovj@chromium.org2011-07-081-1/+2
| | | | | | | | | | | | server. BUG=63658 TEST=All policy unit_tests should pass. Review URL: http://codereview.chromium.org/7283018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91842 0039d316-1c4b-4281-b951-d872f2087c98
* Warmth of a connection (cwnd) is estimated by the amount of data written to ↵gagansingh@google.com2011-06-271-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | the socket. Choosing the warmest connection would mean faster resource load times. idle time is the time a socket has remained idle (no http requests being served on it). Probability of server resetting a connection increases with idle time duration. Using a cost function that takes into account bytes transferred and idle time to pick best connection to schedule http requests on. CODEREVIEW done in http://codereview.chromium.org/6990036/ Contributed by gagansingh@google.com Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=90373 Reverted: http://codereview.chromium.org/7255002 :( Have fixed 2 things since: 1. Removed LOG(ERROR) from http_basic_stream.cc that was causing layout tests to fail. 2. Initialized class variables in http_basic_stream.cc that was causing uninitialized memory bugs in valgrind: http://code.google.com/p/chromium/issues/detail?id=87423 Review URL: http://codereview.chromium.org/7251004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90601 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 90373 - Warmth of a connection (cwnd) is estimated by the amount of ↵dimich@chromium.org2011-06-241-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | data written to the socket. Choosing the warmest connection would mean faster resource load times. Caused layout tests http/tests/loading/redirect-methods.html and http/tests/security/xss-DENIED-iframe-src-alias.html fail on deps WebKit bots, and caused http://code.google.com/p/chromium/issues/detail?id=87423 Deps bots failures: http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20-%20chromium.org&tests=http%2Ftests%2Floading%2Fredirect-methods.html%2Chttp%2Ftests%2Fsecurity%2Fxss-DENIED-iframe-src-alias.html idle time is the time a socket has remained idle (no http requests being served on it). Probability of server resetting a connection increases with idle time duration. Using a cost function that takes into account bytes transferred and idle time to pick best connection to schedule http requests on. CODEREVIEW done in http://codereview.chromium.org/6990036/ Contributed by gagansingh@google.com Review URL: http://codereview.chromium.org/7189055 TBR=gagansingh@google.com Review URL: http://codereview.chromium.org/7255002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90389 0039d316-1c4b-4281-b951-d872f2087c98
* Warmth of a connection (cwnd) is estimated by the amount of data written to ↵gagansingh@google.com2011-06-241-0/+7
| | | | | | | | | | | | | | | | | | | the socket. Choosing the warmest connection would mean faster resource load times. idle time is the time a socket has remained idle (no http requests being served on it). Probability of server resetting a connection increases with idle time duration. Using a cost function that takes into account bytes transferred and idle time to pick best connection to schedule http requests on. CODEREVIEW done in http://codereview.chromium.org/6990036/ Contributed by gagansingh@google.com Review URL: http://codereview.chromium.org/7189055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90373 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Add revocation checking field trial."agl@chromium.org2011-06-201-4/+0
| | | | | | | | | | | | | | | | | This reverts commit r88542. We have the data from this trial now. Time to revert it. The only change that remains is that Net.SSL_Connection_Latency remains outside of the "if (using_spdy)" conditional. TBR=mbelshe BUG=none TEST=none http://codereview.chromium.org/7201028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89713 0039d316-1c4b-4281-b951-d872f2087c98
* Add revocation checking field trial.agl@chromium.org2011-06-091-0/+4
| | | | | | | | | | | | | We wish to measure the impact of revocation checking on SSL connection times. This change sets up a 50/50 field trial where members of the trial don't do revocation checking on sites that we currently have certificate pins for. BUG=none TEST=none http://codereview.chromium.org/7113008/ git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88542 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the SSL FalseStart field trial, since we've finished studying it.mbelshe@google.com2011-06-011-3/+0
| | | | | | | | | | | | SSL Handshake times (windows 11.0.696.71): %-tile FalseStart No-FalseStart Delta 50 65.4 91.9 -28.86% 75 118.3 170.7 -30.69% 90 174.7 266.8 -30.36% 99 310.8 454.5 -27.21% Review URL: http://codereview.chromium.org/7050041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87516 0039d316-1c4b-4281-b951-d872f2087c98
* Move SystemMonitor to base/.willchan@chromium.org2011-05-181-5/+5
| | | | | | | | | | | | | | | I plan to use SystemMonitor in net/. Fix up the Mac implementation not to use Cocoa APIs since @interface is not allowed in base. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85732 Review URL: http://codereview.chromium.org/7015017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85737 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 85732 (broke build) - Move SystemMonitor to base/.willchan@chromium.org2011-05-181-5/+5
| | | | | | | | | | | | | | | | I plan to use SystemMonitor in net/. Fix up the Mac implementation not to use Cocoa APIs since @interface is not allowed in base. BUG=none TEST=none Review URL: http://codereview.chromium.org/7015017 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/7042003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85734 0039d316-1c4b-4281-b951-d872f2087c98
* Move SystemMonitor to base/.willchan@chromium.org2011-05-181-5/+5
| | | | | | | | | | | | | I plan to use SystemMonitor in net/. Fix up the Mac implementation not to use Cocoa APIs since @interface is not allowed in base. BUG=none TEST=none Review URL: http://codereview.chromium.org/7015017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85732 0039d316-1c4b-4281-b951-d872f2087c98
* Add one-time randomization support for FieldTrial, and the ability tojoi@chromium.org2011-05-101-3/+23
| | | | | | | | | | | | | | | | | | | | | | | disable field trials. I am going to have a need for both soon. Update some documentation about empty trial names, add TrialExists() method and update many call-sites to use this (it simplifies the previous logic which checked for existence and then for non-empty name, which can no longer happen). Refactor a bit in browser_main. While I'm in there and needing base/OWNERS approval, add an OWNERS file for base/metrics that adds jar@chromium.org as an owner for that directory. Initially committed as r84197. Rolled back due to DCHECK in official builds, r84373. Will re-submit with fix. BUG=81750 TEST=base_unittests Review URL: http://codereview.chromium.org/6883102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84801 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 84197 - Add one-time randomization support for FieldTrial, and the ↵joi@chromium.org2011-05-061-23/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | ability to disable field trials. I am going to have a need for both soon. Cleaning up some comments about empty trial names, adding static method TrialExists() and simplifying many call sites by using this method. While I'm in there and needing base/OWNERS approval, add an OWNERS file for base/metrics that adds jar@chromium.org as an owner for that directory. BUG=none TEST=base_unittests TBR=jam@chromium.org R=jar@chromium.org,phajdan.jr@chromium.org,mark@chromium.org,wtc@chromium.org Reason for revert: See http://crbug.com/81750 BUG=81750 TBR=joi@chromium.org Review URL: http://codereview.chromium.org/6931048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84373 0039d316-1c4b-4281-b951-d872f2087c98
* Add one-time randomization support for FieldTrial, and the ability tojoi@chromium.org2011-05-051-3/+23
| | | | | | | | | | | | | | | | | | disable field trials. I am going to have a need for both soon. Cleaning up some comments about empty trial names, adding static method TrialExists() and simplifying many call sites by using this method. While I'm in there and needing base/OWNERS approval, add an OWNERS file for base/metrics that adds jar@chromium.org as an owner for that directory. BUG=none TEST=base_unittests TBR=jam@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84197 0039d316-1c4b-4281-b951-d872f2087c98
* Add a histogram to record time elapsed before we start the browser message loop.siggi@chromium.org2011-04-151-0/+4
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6853023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81775 0039d316-1c4b-4281-b951-d872f2087c98
* Move some files from base to base/memory.levin@chromium.org2011-03-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raw_scoped_refptr_mismatch_checker.h ref_counted.cc ref_counted.h ref_counted_memory.cc ref_counted_memory.h ref_counted_unittest.cc scoped_callback_factory.h scoped_comptr_win.h scoped_handle.h scoped_native_library.cc scoped_native_library.h scoped_native_library_unittest.cc scoped_nsobject.h scoped_open_process.h scoped_ptr.h scoped_ptr_unittest.cc scoped_temp_dir.cc scoped_temp_dir.h scoped_temp_dir_unittest.cc scoped_vector.h singleton.h singleton_objc.h singleton_unittest.cc linked_ptr.h linked_ptr_unittest.cc weak_ptr.cc weak_ptr.h weak_ptr_unittest.cc BUG=None TEST=Compile Review URL: http://codereview.chromium.org/6714032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79524 0039d316-1c4b-4281-b951-d872f2087c98
* Move prerender and prefetch logic out into chrome/browser/prerender.cbentzel@chromium.org2011-03-011-4/+0
| | | | | | | | | | | This makes no logic changes. BUG=None TEST=None Review URL: http://codereview.chromium.org/6596040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76376 0039d316-1c4b-4281-b951-d872f2087c98
* Add field trial for A/B testing of SSL False Start.mbelshe@chromium.org2011-02-181-0/+3
| | | | | | | | | | | | | Enable two histograms for measurement: - measure PLT differences - measure SSL_Connect_Latency conditioned on the test. BUG=none TEST=none Review URL: http://codereview.chromium.org/6544004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75402 0039d316-1c4b-4281-b951-d872f2087c98
* Add histogram to track prerender sessionsgavinp@chromium.org2011-01-271-2/+3
| | | | | | | | | BUG=70401 TEST=nope Review URL: http://codereview.chromium.org/6340013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72800 0039d316-1c4b-4281-b951-d872f2087c98
* Added a function to BrowserMainParts that sets up field trials. It is called ↵cbentzel@chromium.org2011-01-261-0/+2
| | | | | | | | | | | | | after about_flags has converted the flags to command-line switches. This fixes the case where a field trial would opt a user out of a feature even when they'd explicitly enabled it in their flags. Contributed by: dominich@chromium.org BUG=none TEST=Enable page-prerender through about:flags and restart. You should skip the random part of the Field Test. Review URL: http://codereview.chromium.org/6354023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72689 0039d316-1c4b-4281-b951-d872f2087c98
* Move SystemMonitor to src/ui/base/system_monitor. Move HiResTimerManager to ↵ben@chromium.org2011-01-191-2/+5
| | | | | | | | | | | | | src/chrome/common. BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6361002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71797 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 71487 - Move SystemMonitor to src/ui/base/system_monitor.ben@chromium.org2011-01-141-5/+2
| | | | | | | | | | | | | | Move HiResTimerManager to src/chrome/common. BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6361002 TBR=ben@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71489 0039d316-1c4b-4281-b951-d872f2087c98
* Move SystemMonitor to src/ui/base/system_monitor.ben@chromium.org2011-01-141-2/+5
| | | | | | | | | | | | Move HiResTimerManager to src/chrome/common. BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6361002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71487 0039d316-1c4b-4281-b951-d872f2087c98
* Move Stats, histograms, and field trial into a metrics subdirectory of base andbrettw@chromium.org2010-10-141-2/+2
| | | | | | | | | put them in the base namespace. TEST=it compiles BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62510 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ChromeThread to BrowserThread Final Part:tfarina@chromium.org2010-10-121-2/+2
| | | | | | | | | | | | | | - Rename chrome_thread.cc to browser_thread.cc - Rename chrome_thread_unittest.cc to browser_thread_unittest.cc - Include browser_thread.h instead of chrome_thread.h where needed. - Fix gyp files according. BUG=56926 TEST=trybots and compiled locally Review URL: http://codereview.chromium.org/3643005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62356 0039d316-1c4b-4281-b951-d872f2087c98
* A/B experiment for re-establishing TCP connections.ziadh@chromium.org2010-08-251-0/+4
| | | | | | | | | | | | | We would like to test the impact of automatic retries when a TCP connection exceeds a certain threshold before it gets back an ACK. We are observing a fair number of sockets where the connection had been established, but the sockets were not used thereafter. r=mbelche Review URL: http://codereview.chromium.org/3191019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57276 0039d316-1c4b-4281-b951-d872f2087c98
* Histograms & Field Trails about prefetchinggavinp@google.com2010-08-091-0/+3
| | | | | | | | | | | | This CL lands some histograms to track prefetching, and a 10% field trial enabling the feature to track performance. BUG=none TEST=none Review URL: http://codereview.chromium.org/3036050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55431 0039d316-1c4b-4281-b951-d872f2087c98
* A/B test for measuring effect of number of proxy connections.ziadh@chromium.org2010-08-021-0/+3
| | | | | | | | | | | | | | | | | Currently, we limit the number of connections per proxy server to 32 (raised from 15). Firefox uses 8. A low value keeps from overloading the proxy servers; at the same time, some users may hit the limit (since we use the same number for both HTTP and SOCKS proxies). This experiment selects a different number at browser launch (from the set [8, 16, 32, 64]), and attempts to look at certain stats to get a clearer picture of how this affects the user. BUG=44501 r=jar Review URL: http://codereview.chromium.org/3033045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54541 0039d316-1c4b-4281-b951-d872f2087c98
* BrowserMain() refactoring, part 2.1.viettrungluu@chromium.org2010-07-291-1/+17
| | | | | | | | | | | | 1. Move InitializeSSL() into platform-specific files and eliminate #ifdef. 2. Add some instructions on how to add code to BrowserMain(). BUG=none TEST=everything still works Review URL: http://codereview.chromium.org/3073008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54098 0039d316-1c4b-4281-b951-d872f2087c98
* BrowserMain() refactoring, part 2.viettrungluu@chromium.org2010-07-271-11/+33
| | | | | | | | | | | | 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
* `#pragma once` for app, base, chrome, gfx, ipc, net, skia, viewsthakis@chromium.org2010-07-261-0/+1
| | | | | | | | | BUG=50273 TEST=everything still builds, build is 10% faster on windows, same speed on mac/linux TBR: erg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53716 0039d316-1c4b-4281-b951-d872f2087c98
* Posix: Stop crashing on SIG{INT|HUP|TERM}.willchan@chromium.org2010-07-121-6/+6
| | | | | | | | 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/+92
| | | | | | | | | 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
* POSIX: Re-enable browser shutdown measurements. We should write the ↵thestig@chromium.org2010-03-271-2/+0
| | | | | | | | | | measurements to the user data directory instead of the temp directory. BUG=39098 TEST=none Review URL: http://codereview.chromium.org/1253006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42884 0039d316-1c4b-4281-b951-d872f2087c98
* Do some browser_main cleanup. This moves ChromeOS login manager and some firstbrettw@chromium.org2010-03-241-4/+4
| | | | | | | | | | | | | run UI stuff to new helper functions. It renames CheckForWin2000 to a generic one that each platform can implement according to its needs. I removed the Platform namespace which was improperly named, and didn't seem to be helping anything anyway. TEST=none BUG=none Review URL: http://codereview.chromium.org/1139009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42528 0039d316-1c4b-4281-b951-d872f2087c98