summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Adding support for tab notifications and initializing the focus of an ↵tommi@chromium.org2009-02-097-36/+119
| | | | | | | | automated tab. Review URL: http://codereview.chromium.org/20125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9388 0039d316-1c4b-4281-b951-d872f2087c98
* Add Recycle() method to scoped autorelease pool to allow cleaning out any junkpinkerton@chromium.org2009-02-098-19/+40
| | | | | | | | created at startup before the main runloop. Correct quit on Mac to let the BrowserProcess shut down the event loop when its refcount goes to zero after cleaning up all browser windows. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9386 0039d316-1c4b-4281-b951-d872f2087c98
* Force all stability stats into "initial log" (don't use ongoing log)jar@chromium.org2009-02-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | The goal of this checkin is to effectively roll-back our stats gathering methodology for stability stats to ONLY use the initial log. This has some negative consequences (time lag, and bias against data from happy ongoing users). We're doing this because there appears to be a BIG survivability differnce between initial and ongoing logs. Perhaps we are even getting multiple recordings of data from initial logs. Until this is corrected, it is not safe to send part of the stability info (crashes) only in the initial logs, while we send pageloads in part via ongoing logs. To absolutely minimize risk, I decided to leave the inter-log delay at 20 minutes, so that there is no chance of changing the log saving resource utilization (i.e., going over the limits). It was at 5 when we started the process, but since it has no impact on the initial log, it won't harm the stability stats, and it may reduce load on the front end log saving servers. bug=1564631 r=huanr,evanm Review URL: http://codereview.chromium.org/21160 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9385 0039d316-1c4b-4281-b951-d872f2087c98
* Add all net projects to chrome solution.rvargas@google.com2009-02-071-0/+57
| | | | | | | | BUG=7061 Review URL: http://codereview.chromium.org/21155 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9376 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a command line switch to allow the user to specify the locationrvargas@google.com2009-02-073-0/+14
| | | | | | | | | | | | | | | | | | of the disk cache, rather than in the profile directory. The command line switch overrides the cache location regardless the chosen profile. In this implementation, the supplied directory name must should not contain spaces. BUG=6688 submitted by bekkra. original code review http://codereview.chromium.org/21094/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9375 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: build fixagl@chromium.org2009-02-071-0/+2
| | | | | | | | | (Why isn't this a command line include?) Review URL: http://codereview.chromium.org/20159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9373 0039d316-1c4b-4281-b951-d872f2087c98
* Mac build fix: Mac needs more includes than Linuxagl@chromium.org2009-02-071-0/+5
| | | | | | | Review URL: http://codereview.chromium.org/20158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9372 0039d316-1c4b-4281-b951-d872f2087c98
* Mac + Linux build fix:agl@chromium.org2009-02-072-1/+6
| | | | | | | | | | | Linux: GCC warning appeared only in opt mode Mac: CMSG macros appear to be non-constant somehow. Bodge and fix later. Review URL: http://codereview.chromium.org/21157 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9370 0039d316-1c4b-4281-b951-d872f2087c98
* FileDescriptor: passing fds over IPCagl@chromium.org2009-02-0711-8/+484
| | | | | | | | | This patch introduces a FileDescriptor object which can be included in IPC messages and will perform the magic needed to pass file descriptors over IPC. After some consideration, Windows will continue to do the current DuplicateHandle tricks. Review URL: http://codereview.chromium.org/20027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9369 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 9362.ojan@chromium.org2009-02-071-45/+0
| | | | | | | Broke the build Review URL: http://codereview.chromium.org/20153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9364 0039d316-1c4b-4281-b951-d872f2087c98
* Add all net projects to chrome solution.rvargas@google.com2009-02-061-0/+45
| | | | | | | | BUG=7061 Review URL: http://codereview.chromium.org/20149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9362 0039d316-1c4b-4281-b951-d872f2087c98
* More purify wack-a-mole.erikkay@google.com2009-02-062-0/+63
| | | | | | | | | TBR=nobody (feel free to volunteer if you actually want to see these reviews) Review URL: http://codereview.chromium.org/20148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9356 0039d316-1c4b-4281-b951-d872f2087c98
* Stop about:ipc crashingagl@chromium.org2009-02-061-1/+1
| | | | | | | Review URL: http://codereview.chromium.org/20147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9355 0039d316-1c4b-4281-b951-d872f2087c98
* Add proper deps on new libs.jrg@chromium.org2009-02-061-0/+624
| | | | | | Review URL: http://codereview.chromium.org/20141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9352 0039d316-1c4b-4281-b951-d872f2087c98
* Handle review comments form previous change. Also, use enum types and not ↵jam@chromium.org2009-02-066-61/+169
| | | | | | | | int in IPC messages to make things clearer. Review URL: http://codereview.chromium.org/20140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9351 0039d316-1c4b-4281-b951-d872f2087c98
* Add a method to CommandUpdater to remove an observer from all commands at once.pinkerton@chromium.org2009-02-063-5/+14
| | | | | | Review URL: http://codereview.chromium.org/21140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9350 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a unit test for NavigationEntry. Also adds a comment to BrowsingInstancecreis@google.com2009-02-063-1/+188
| | | | | | | | | | | | | to explain that it is unit tested in site_instance_unittest.cc. BUG=7371 BUG=7369 TEST=NavigationEntryTest.* Review URL: http://codereview.chromium.org/21132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9349 0039d316-1c4b-4281-b951-d872f2087c98
* Add logging to NP_Initialize and CP_Initialize to try to figure out why gearsmpcomplete@google.com2009-02-061-0/+5
| | | | | | | is failing to load. Review URL: http://codereview.chromium.org/21138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9348 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up unnecessary includes in render_view.ccbrettw@chromium.org2009-02-062-3/+0
| | | | | | Review URL: http://codereview.chromium.org/24005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9347 0039d316-1c4b-4281-b951-d872f2087c98
* Auto-resize the inner view.avi@google.com2009-02-061-0/+4
| | | | | | Review URL: http://codereview.chromium.org/20143 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9346 0039d316-1c4b-4281-b951-d872f2087c98
* Add UMA counter to track how users launch Chromecpu@google.com2009-02-061-0/+55
| | | | | | | | | | | - Histogram is named Launch.Modes - We have different buckets for : direct execution, webapp, shell, quicklaunch and desktop shortcuts BUG=7216 Review URL: http://codereview.chromium.org/21109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9344 0039d316-1c4b-4281-b951-d872f2087c98
* disable download test while sid fixes offlinetc@google.com2009-02-061-1/+1
| | | | | | | | | TBR=sid Review URL: http://codereview.chromium.org/20142 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9339 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure toolbar buttons are in sync with command updater when tab becomes ↵pinkerton@chromium.org2009-02-064-10/+34
| | | | | | | | selected. Remove a NOTIMPLEMENTED that shouldn't be there. Review URL: http://codereview.chromium.org/20138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9338 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command line option --disable-web-security. People can use this ↵abarth@chromium.org2009-02-066-0/+14
| | | | | | | | | | | option when the same-origin policy interferes with testing their web sites. R=deanm BUG=6449 Review URL: http://codereview.chromium.org/20101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9337 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes the EULA dialog to explicitly unset the usagestats flag if the ↵gwilson@google.com2009-02-061-1/+4
| | | | | | | | | | | checkbox is not selected. Before, the dialog would simply not modify the value already set. BUG=7426 R=cpu Review URL: http://codereview.chromium.org/21134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9336 0039d316-1c4b-4281-b951-d872f2087c98
* Reference and create a RenderView when needed.jrg@chromium.org2009-02-065-35/+237
| | | | | | | | | This initiates the landslide of linker hell in Chromium.app, bringing in webkit, v8, and the kitchen sink. Review URL: http://codereview.chromium.org/21123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9335 0039d316-1c4b-4281-b951-d872f2087c98
* Create a stub LocationBar object on Mac to communicate between the bar and ↵pinkerton@chromium.org2009-02-068-4/+93
| | | | | | | | the Browser. Review URL: http://codereview.chromium.org/20136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9334 0039d316-1c4b-4281-b951-d872f2087c98
* Janitorial: browser_render_process_host header/lint cleanup. Remove lots of ↵thestig@chromium.org2009-02-062-33/+14
| | | | | | | | header files it doesn't need and add the ones it does use. Review URL: http://codereview.chromium.org/21135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9332 0039d316-1c4b-4281-b951-d872f2087c98
* Add a Repack tool to scons. This is used to compile linux resourcestc@google.com2009-02-061-4/+0
| | | | | | | | | | | | together (kind of like the windows RES builder). I also moved the GRIT builder into the chromium site_scons since we import it in lots of places. This seems cleaner. Review URL: http://codereview.chromium.org/21115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9331 0039d316-1c4b-4281-b951-d872f2087c98
* Initial Mac port of web_contents_view and render_widget_host_view.avi@google.com2009-02-0619-147/+835
| | | | | | Review URL: http://codereview.chromium.org/20124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9330 0039d316-1c4b-4281-b951-d872f2087c98
* another attempt to get the current errors into the known errors listerikkay@google.com2009-02-062-6/+85
| | | | | | | | | TBR=ojan Review URL: http://codereview.chromium.org/21136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9328 0039d316-1c4b-4281-b951-d872f2087c98
* Make cert_store.cc compile on Mac and Linux.jhawkins@chromium.org2009-02-064-18/+3
| | | | | | Review URL: http://codereview.chromium.org/20135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9326 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Clean up dns prefetch code, and also port it."tc@google.com2009-02-0612-361/+758
| | | | | | | | | | | | | | | | This reverts commit r9312. Revert "Fix HostResolver crash when MessageLoop is destroyed during" This reverts commit r9317. BUG=5687,6683 TBR=ph Review URL: http://codereview.chromium.org/21133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9325 0039d316-1c4b-4281-b951-d872f2087c98
* Enable more SafeBrowsing unittests on Mac and linux.paul@chromium.org2009-02-062-1/+2
| | | | | | Review URL: http://codereview.chromium.org/21130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9323 0039d316-1c4b-4281-b951-d872f2087c98
* Fix linux build bustage.estade@chromium.org2009-02-061-1/+4
| | | | | | | | tbr=pinkerton Review URL: http://codereview.chromium.org/20130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9321 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out web_contents_view_gtk.estade@chromium.org2009-02-069-5/+241
| | | | | | | | Also start using the new render_widget_host_view_gtk Review URL: http://codereview.chromium.org/21119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9319 0039d316-1c4b-4281-b951-d872f2087c98
* Enable/disable buttons when the corresponding command updates in the model.pinkerton@chromium.org2009-02-069-18/+199
| | | | | | Review URL: http://codereview.chromium.org/21128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9318 0039d316-1c4b-4281-b951-d872f2087c98
* Support custom border widths. Allow user to resize the window (instead of ↵pkasting@chromium.org2009-02-063-133/+109
| | | | | | | | | doing nothing) when over our client edge graphics. Make resize corner behavior on XP more native. More cleanup. BUG=5054 Review URL: http://codereview.chromium.org/21116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9315 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up dns prefetch code, and also port it.phajdan.jr@chromium.org2009-02-0612-758/+361
| | | | | | | | | | | | | | - remove slave threads and use HostResolver in asynchronous mode instead (while still limiting number of concurrent lookups) - make the implementation portable and make DnsMaster unit test compile and pass on Linux - add more tests to DnsMaster unit test to simulate various shutdown scenarios, concurrent lookups, and to verify that we don't exceed our limit of concurrent lookup requests) - remove some tests which relied on specifics of slaves' inner working Bonus: shutdown is almost instant now, no need to have a timeout. BUG=5687, 6683 Review URL: http://codereview.chromium.org/15076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9312 0039d316-1c4b-4281-b951-d872f2087c98
* Remove many more ifdefs around un-used methods to enable more functionality ↵pinkerton@chromium.org2009-02-063-34/+37
| | | | | | | | for mac and linux. Review URL: http://codereview.chromium.org/21118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9304 0039d316-1c4b-4281-b951-d872f2087c98
* Move the about:ipc tab to a dialog. This patch is kind of a hack, the Windowsbrettw@chromium.org2009-02-0615-662/+543
| | | | | | | | | | | | | specific code for the settings dialog and the table view are just copied from the old dialog. I tried to change as little as possible. The only significant change should be that I commented out saving the settings in the profile. This is a re-land of my previous patch which didn't ifdef the code based on the IPC logging preprocessor define. Previous review URL: http://codereview.chromium.org/19741 Review URL: http://codereview.chromium.org/20033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9303 0039d316-1c4b-4281-b951-d872f2087c98
* Port SafeBrowsingProtocolManager to Mac and linux.paul@chromium.org2009-02-063-1/+14
| | | | | | Review URL: http://codereview.chromium.org/20119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9301 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent renderer from crashing on startup.jrg@chromium.org2009-02-062-14/+11
| | | | | | | | With pinkerton and jeremy. Review URL: http://codereview.chromium.org/20120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9300 0039d316-1c4b-4281-b951-d872f2087c98
* Commit my changes that simplify automation message unpacking.jam@chromium.org2009-02-065-509/+302
| | | | | | | TBR=amit Review URL: http://codereview.chromium.org/24002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9299 0039d316-1c4b-4281-b951-d872f2087c98
* Add a constraint on how many requests can be outstanding for any given ↵ericroman@google.com2009-02-063-19/+328
| | | | | | | | | | | | | | | render process (browser-side). Once the constraint is reached, subsequent requests will fail with net::ERR_INSUFFICIENT_RESOURCES. The bound is defined as "25 MB", which represents the amount of private bytes we expect the pending requests to consume in the browser. This number translates into around 6000 typical requests. Note that the upload data of a request is not currently considered part of the request's in-memory cost -- more data is needed on the average/maximum upload sizes of users before deciding what a compatible limit is. BUG=5688 Review URL: http://codereview.chromium.org/18541 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9298 0039d316-1c4b-4281-b951-d872f2087c98
* Make the new linux browser shut down cleanly.erg@google.com2009-02-064-4/+19
| | | | | | | Review URL: http://codereview.chromium.org/21112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9297 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Renderer Crash on OS X + update unit test.jeremy@chromium.org2009-02-062-8/+2
| | | | | | | | | | | | | | The problem was that the process shutdown_event_ was created in RenderProcess::GlobalInit() and then deleted in RenderProcess::GlobalCleanup() and was being accessed after it's deletion by the MessageLoop's destructor (which was trying to signal shutdown). MessageLoop was still retaining a reference to it since there was still an IPCSyncChannel listening on it. IPCSyncChannel hadn't stopped listening on it since it was being terminated via OnChannelError. This fix adds code that terminates listening on a channel when a Channel error occurs. Review URL: http://codereview.chromium.org/20114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9295 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the Linux build by adding resource_message_filter to the build.brettw@google.com2009-02-061-1/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9292 0039d316-1c4b-4281-b951-d872f2087c98
* Make ResourceMessageFilter compile on Mac. It stubs out a substantial part ofbrettw@google.com2009-02-065-50/+111
| | | | | | | | | the printing. It creates new base functions for converting PIDs to handles, and then closing them (since Windows requires this). This also fixes the formatting of image_util. Review URL: http://codereview.chromium.org/20109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9291 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure tab contents get cleaned up and dealloc'd correctly when a tab closes.pinkerton@chromium.org2009-02-062-5/+21
| | | | | | Review URL: http://codereview.chromium.org/20117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9290 0039d316-1c4b-4281-b951-d872f2087c98