summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* views: Move the remaining layout constants to the views namespace. Final Part.tfarina@chromium.org2011-02-2322-105/+114
| | | | | | | | | BUG=None TEST=trybots Review URL: http://codereview.chromium.org/6538076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75703 0039d316-1c4b-4281-b951-d872f2087c98
* Initialize the minimum timer interval upon RenderView construction,kbr@chromium.org2011-02-232-4/+3
| | | | | | | | | | | | | | | | | not during WebPreferences application, and base the interval on the initial hidden state of the view. This fixes a bug introduced late in the development of the minimum timer interval for background tabs, and also will fix http://code.google.com/p/chromium/issues/detail?id=73726 once the minimum timer interval is increased again. BUG=66078 TEST=manual tests Review URL: http://codereview.chromium.org/6546080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75700 0039d316-1c4b-4281-b951-d872f2087c98
* Moved common parts of Linux autostart code to chrome/common so it can be ↵sanjeevr@chromium.org2011-02-234-41/+104
| | | | | | | | | | | reused in the service process as well. BUG=None TEST=None Review URL: http://codereview.chromium.org/6546024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75699 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Check ALSA return values in mixer code.derat@chromium.org2011-02-232-25/+79
| | | | | | | | | | | | | | | | | | | We're seeing a NaN value sometimes get saved (incorrectly) to the prefs file in the volume setting, which results in the prefs file being unparseable the next time Chrome starts, which results in us going through OOBE again. The prefs code ought to write NaNs correctly so that they don't corrupt the file, but in the meantime, this change checks the return values from a bunch of ALSA functions (my best theory as to how the NaN is creeping in) and for good measure, also maps NaN volume values to the minimum volume. BUG=chromium-os:12229 TEST=built and ran it (i haven't been able to repro the problem) Review URL: http://codereview.chromium.org/6562001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75698 0039d316-1c4b-4281-b951-d872f2087c98
* gtk: Do not show tooltip for bookmarks folders.tfarina@chromium.org2011-02-231-0/+3
| | | | | | | | | BUG=72660 TEST=see bug. Review URL: http://codereview.chromium.org/6546038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75697 0039d316-1c4b-4281-b951-d872f2087c98
* Last used folder won't be selected when exporting bookmarks.tfarina@chromium.org2011-02-231-1/+4
| | | | | | | | | | | This patch fix this regression. BUG=70011 TEST=see bug Review URL: http://codereview.chromium.org/6532053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75696 0039d316-1c4b-4281-b951-d872f2087c98
* Causing gyp_chromium to fall back on win32 hermetic python if it isbradnelson@google.com2011-02-231-0/+14
| | | | | | | | | | | ever run with cygwin python. BUG=http://code.google.com/p/gyp/issues/detail?id=178 TEST=None Review URL: http://codereview.chromium.org/6538104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75695 0039d316-1c4b-4281-b951-d872f2087c98
* Add an explanation for the divergenace from WPAD DNS protocol.eroman@chromium.org2011-02-232-2/+12
| | | | | | Review URL: http://codereview.chromium.org/6538009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75693 0039d316-1c4b-4281-b951-d872f2087c98
* clang: Turn on -Woverloaded-virtual!thakis@chromium.org2011-02-231-4/+0
| | | | | | | | BUG=72205 TEST=clang build stays green, and catches many regressions in the future TBR=evan git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75692 0039d316-1c4b-4281-b951-d872f2087c98
* Add autocomplete provider for "about:" URLs.pkasting@chromium.org2011-02-2312-104/+166
| | | | | | | | | | | | | | | This is a reworked version of r74451 that makes the following changes: * Removed function to convert an about: string to a URL. We don't need this in the autocomplete side because the "about:" URLs will be correctly handled when the user hits enter; and removing it means we don't need to ensure that the data provider is initialized, because that will also be done automatically. * Clean up the about:about HTML construction to be shorter and produce slightly more readable source code * Remove about:vaporware (cleared with thakis, who added it) (Obviously, the last two changes are "while I'm here, ..." cleanups.) BUG=6870 TEST=Typing "about:s" into the omnibox should result in a couple of "about:s..." URL entries in the dropdown even if you've never visited them. Review URL: http://codereview.chromium.org/6474019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75691 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for Issue 73274: Printing causes view to scrollyuzo@chromium.org2011-02-232-0/+5
| | | | | | | | | | | | | | | Save and restore scroll offset when printing a page. This patch is applicable only after the patch for https://bugs.webkit.org/show_bug.cgi?id=54632 has been landed. This patch doesn't completely fix https://bugs.webkit.org/show_bug.cgi?id=52552 but the remaining issue is relatively minor. BUG=73274 TEST= Open a web page, scroll to the bottom, print, and observe the scroll position is not changed. See http://code.google.com/p/chromium/issues/detail?id=73274 Review URL: http://codereview.chromium.org/6539011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75689 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor HttpStreamFactory.willchan@chromium.org2011-02-2337-807/+1098
| | | | | | | | | | | | | | | | | | | Rename StreamFactory and StreamRequest to HttpStreamFactory and HttpStreamRequest. Rename HttpStreamFactory to HttpStreamFactoryImpl. Create HttpStreamFactoryImpl::Request (inherits from HttpStreamRequest) and HttpStreamFactoryImpl::Job (most of the old HttpStreamRequest code, other than the interface, moved here). Currently there is still a strong binding within HttpStreamFactoryImpl between requests and jobs. This will be removed in a future changelist. Note that due to the preparation for late binding, information like HttpRequestInfo and SSLConfig and ProxyInfo are just copied. It's possible we can consider refcounting them to reduce copies, but I think it's not worth the effort / ugliness. I also did some minor cleanups like moving SpdySettingsStorage into SpdySessionPool and some CloseIdleConnections() cleanup. BUG=54371,42669 TEST=unit tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=75668 Review URL: http://codereview.chromium.org/6543004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75688 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll: 79328:79361atwilson@chromium.org2011-02-231-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6469111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75687 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: More fixes to avoid corruption.rvargas@google.com2011-02-236-85/+75
| | | | | | | | | | | | | | | | | | | | | | | | | * We now keep dirty entries in the map of open entries so that we handle better crashes when we are working with dirty entries. * EntryImpl now remembers if the entry was dirty on disk. * When we find a dirty entry while doing enumerations we now go through the regular path to delete the entry (InternalDoomEntry), and let MatchEntry delete the entry. The main problem with the old code is that it was possible to delete the entry without first removing it from the index, so a crash at that time would leave references to free addresses. * Now we correctly consider the case of not finding an entry when looking for its parent as an error. BUG=62085 TEST=net_unittests Review URL: http://codereview.chromium.org/6538006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75685 0039d316-1c4b-4281-b951-d872f2087c98
* Apply change for less verbose ID lengths from upstream.cevans@chromium.org2011-02-232-6/+23
| | | | | | | | | BUG=73716 TEST=none Review URL: http://codereview.chromium.org/6549014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75684 0039d316-1c4b-4281-b951-d872f2087c98
* Adds navigator.registerProtocolHandler.tony@chromium.org2011-02-2325-1/+649
| | | | | | | | | BUG=11359 TEST=None at the moment Review URL: http://codereview.chromium.org/6410115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75681 0039d316-1c4b-4281-b951-d872f2087c98
* linux: Constrain popup window size correctly.derat@chromium.org2011-02-231-4/+3
| | | | | | | | | | | | | | Fixes a regression that I introduced while refactoring some code in r74534. We were limiting the size passed to GTK+ for very large popup windows but storing the unconstrained size internally. BUG=72910 TEST=manual with test case from bug Review URL: http://codereview.chromium.org/6469097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75673 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 75668 for breaking ChromeOS build - Refactor HttpStreamFactory.willchan@chromium.org2011-02-2336-1096/+805
| | | | | | | | | | | | | | | | | | | Rename StreamFactory and StreamRequest to HttpStreamFactory and HttpStreamRequest. Rename HttpStreamFactory to HttpStreamFactoryImpl. Create HttpStreamFactoryImpl::Request (inherits from HttpStreamRequest) and HttpStreamFactoryImpl::Job (most of the old HttpStreamRequest code, other than the interface, moved here). Currently there is still a strong binding within HttpStreamFactoryImpl between requests and jobs. This will be removed in a future changelist. Note that due to the preparation for late binding, information like HttpRequestInfo and SSLConfig and ProxyInfo are just copied. It's possible we can consider refcounting them to reduce copies, but I think it's not worth the effort / ugliness. I also did some minor cleanups like moving SpdySettingsStorage into SpdySessionPool and some CloseIdleConnections() cleanup. BUG=54371,42669 TEST=unit tests Review URL: http://codereview.chromium.org/6543004 TBR=willchan@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75670 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor HttpStreamFactory.willchan@chromium.org2011-02-2236-805/+1096
| | | | | | | | | | | | | | | | | Rename StreamFactory and StreamRequest to HttpStreamFactory and HttpStreamRequest. Rename HttpStreamFactory to HttpStreamFactoryImpl. Create HttpStreamFactoryImpl::Request (inherits from HttpStreamRequest) and HttpStreamFactoryImpl::Job (most of the old HttpStreamRequest code, other than the interface, moved here). Currently there is still a strong binding within HttpStreamFactoryImpl between requests and jobs. This will be removed in a future changelist. Note that due to the preparation for late binding, information like HttpRequestInfo and SSLConfig and ProxyInfo are just copied. It's possible we can consider refcounting them to reduce copies, but I think it's not worth the effort / ugliness. I also did some minor cleanups like moving SpdySettingsStorage into SpdySessionPool and some CloseIdleConnections() cleanup. BUG=54371,42669 TEST=unit tests Review URL: http://codereview.chromium.org/6543004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75668 0039d316-1c4b-4281-b951-d872f2087c98
* chrome only depends on libviews.a, not its unittestspiman@google.com2011-02-221-1/+1
| | | | | | | | | | | This speeds up chromeos builds by a little bit because then we don't need to compile gtest/gmock and makes for faster iterations because we don't need to relink the views tests all the time. BUG=none TEST=touch a file in base, make chrome, check that views_unittests doesn't get build Review URL: http://codereview.chromium.org/6542073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75661 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Move chrome/browser/dom_ui/ to chrome/browser/webui/.tfarina@chromium.org2011-02-2285-227/+227
| | | | | | | | | | | | | To reduce the size of this change I've left stub header files in chrome/browser/dom_ui/. I'll updated the references and delete the stub files later. BUG=59945, 59946 TEST=trybots Review URL: http://codereview.chromium.org/6538075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75660 0039d316-1c4b-4281-b951-d872f2087c98
* If we switch into ChromeFrame as a result of a redirect then we need to ↵ananta@chromium.org2011-02-226-28/+22
| | | | | | | | | | | | | | | | | | | | | navigate chrome to the correct URL to ensure that scripts on the page see the correct URL. This functionality regressed when the protocol sink patch landed. Fix is to read the URL from the ProtData object which wraps the underlying protocol sink, when our active document loads. Removed stale code from the Chromeframe moniker patch which eventually needs to go. Fixes bug http://code.google.com/p/chromium/issues/detail?can=2&q=71860 BUG=71860 TEST=As described in the bug. Review URL: http://codereview.chromium.org/6469103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75656 0039d316-1c4b-4281-b951-d872f2087c98
* Redo implementation of this fix so that extensions can capture their owntsepez@chromium.org2011-02-225-7/+64
| | | | | | | | | | | chrome-extension:// pages. BUG=72523 TEST=ExtensionApiTest.Capture* Review URL: http://codereview.chromium.org/6534005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75655 0039d316-1c4b-4281-b951-d872f2087c98
* Fix rendering glitch that occurs when you uninstall the last installed app.jstritar@chromium.org2011-02-221-1/+1
| | | | | | | | | BUG=69316 TEST=See bug. Review URL: http://codereview.chromium.org/6520014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75654 0039d316-1c4b-4281-b951-d872f2087c98
* gyp: update to r894evan@chromium.org2011-02-221-1/+1
| | | | | | | | | Picks up: r894: make: use 4 threads for linking if the linker supports it Review URL: http://codereview.chromium.org/6538101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75653 0039d316-1c4b-4281-b951-d872f2087c98
* Move core pieces of chrome\browser. I've only gone up to "g", will do the ↵jam@chromium.org2011-02-2245-1771/+1932
| | | | | | | | | rest in another cl. TBR=avi Review URL: http://codereview.chromium.org/6538100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75652 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crashes when the ExtensionService isn't present (e.g. incognito, chrome ↵piman@google.com2011-02-228-8/+36
| | | | | | | | | | | | | os before login). This is a workaround until http://code.google.com/p/chromium/issues/detail?id=73768 is fixed. BUG=73658 TEST=with chromeos=1 build, go to any site and check no crash. Review URL: http://codereview.chromium.org/6544023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75651 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor BookmarkBarController action-handling to make bookmark bar menu ↵maf@chromium.org2011-02-222-16/+21
| | | | | | | | | | | | tracking work properly when initiated by a click on the chevron button. BookmarkBarController unit tests are happy with the change. BUG=59868 TEST=Click on the chevron button, then track onto other bookmark bar buttons and bookmark bar folder buttons, rapidly becoming amazed that everything actually works now. Review URL: http://codereview.chromium.org/6541075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75650 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ComparePathNames.nick@chromium.org2011-02-228-89/+7
| | | | | | | | | | | Dead code cleanup. BUG=none TEST=Unit tests. Review URL: http://codereview.chromium.org/6542007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75649 0039d316-1c4b-4281-b951-d872f2087c98
* Add ChromeDriver support for finding the Chrome exe to launch.kkania@chromium.org2011-02-229-53/+210
| | | | | | | | | | | Also add a ChromeDriver commandline argument for specifying a custom dir. Switch to using ProxyLauncher directly instead of inheriting from UITestBase. BUG=56865 TEST=none Review URL: http://codereview.chromium.org/6469085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75648 0039d316-1c4b-4281-b951-d872f2087c98
* gyp: update to r893evan@chromium.org2011-02-221-1/+1
| | | | | | | | | | | Picks up: r893: make: test for ar's "T" flag at gyp time r892: Switching off external makefile (which requires cygwin on windows). r891: Disabling failing scons tests so we notice regressions. Review URL: http://codereview.chromium.org/6541081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75647 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TextCodecUTF8 crash signatures since the bug has been fixed by ↵mihaip@chromium.org2011-02-221-6/+0
| | | | | | | | | | http://trac.webkit.org/changeset/78541. BUG=73055,73059 TEST=none Review URL: http://codereview.chromium.org/6525059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75646 0039d316-1c4b-4281-b951-d872f2087c98
* Recreate both GpuProcessHost and GpuProcessHostUIShim when a new GPU process ↵apatrick@chromium.org2011-02-2219-202/+671
| | | | | | | | | | | | | | | | | is launched. This is so that a renderer that was previously sending messages to the browser regarding a particular GPU process, it can be informed that a new one has been launched and that it has to start over. This part is not done yet. Both GpuProcessHost and GpuProcessHostUIShim are now identified by a common host ID. Neither are singletons. This is also a step towards allowing multiple GPU processes. TEST=trybots, check WebGL and 3D CSS work, check terminating Chrome works while running WebGL, check --single-process works, checking terminated GPU process is relaunched and that 3D CSS restarts automatically BUG=none Review URL: http://codereview.chromium.org/6473003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75645 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed command-line flag to make the gpu demos work again. We now need ↵alokp@chromium.org2011-02-221-2/+2
| | | | | | | | --enable-accelerated-plugins. --enable-accelerated-layers is not needed anymore. Review URL: http://codereview.chromium.org/6546071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75644 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 75625 - Refactor app launching code for clarity. Add unit tests.hansl@chromium.org2011-02-229-277/+58
| | | | | | | | | | | | | | Was failing on check_perms. Check http://build.chromium.org/p/chromium/builders/Linux/builds/3520 for more info. BUG=None TEST=BrowserInitTest.* Review URL: http://codereview.chromium.org/6543006 TBR=skerner@google.com Review URL: http://codereview.chromium.org/6469100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75643 0039d316-1c4b-4281-b951-d872f2087c98
* View API/implementation cleanup:pkasting@chromium.org2011-02-2213-368/+344
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Don't include the container type ("vector") in the typedef for "a bunch of children". Users generally should not know or care what the container is, so this makes reading easier as the code is not constantly pointing out to you, "hey! I'm a vector!" Added bonus: less verbose, allows condensing a lot of loop declarations onto one line. * Consistently put getters before setters. * Remove 4-arg form of SetBounds() and make people use Rects (we should move the codebase towards Points, Sizes, and Rects wherever possible). * Use "origin" instead of "position" to be consistent with Rect's terminology. * Minor naming changes, e.g. GetViewById() -> GetViewByID(). * Remove const qualifier on member functions that are not logically const. This also got rid of all the const_cast<>()s. * Better comments. * Use const ref args for Views whenever the provided View is not being modified, to make that obvious to the caller. * Turn some accessors into pairs of (non-const, const) accessors. In these cases make the non-const version call the const version. (GetWidget() does this in the header because the const version is virtual; this way people who override the const version can see why they don't need to override the non-const version). * Make RemoveChildView() take a bool for consistency with RemoveAllChildViews() (also eliminates the need to return a View*). * Add STL-style iterators and rename a few accessors to match STL terminology ("size" instead of "count"). * Turn IsFocusable() into a cheap inline getter. * Greatly simplify private tree ops ("NotifyHierarchyChangedXXX()") by realizing that they were always being called with |parent| == |this|. * Declare iterators inside loops, not above them. * Standardize iterator naming to |i|. The existing code wasn't always consistent, and while there's nothing wrong with |it|, using that would have made almost every loop declaration into two lines instead of one. * Simpler code, sometimes by using STL algorithms. * Unindent via early-returns. * Use CHECK_NE() and similar where possible. * Fix memory corruption in RemoveAllChildViews() due to using an iterator after modifying its container. BUG=none TEST=none Review URL: http://codereview.chromium.org/6541030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75642 0039d316-1c4b-4281-b951-d872f2087c98
* Convert ElideString to use string16 instead of wstring.tony@chromium.org2011-02-2212-196/+196
| | | | | | | | BUG=23581 Review URL: http://codereview.chromium.org/6526027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75641 0039d316-1c4b-4281-b951-d872f2087c98
* This patch adds the necessary plumbing to Chromium to support a command-line ↵wjmaclean@chromium.org2011-02-227-0/+19
| | | | | | | | | | | flag for turning on composite-to-texture behaviour. This will facilitate running GPU tests against both composite-to-display and composite-to-texture. BUG=none TEST=none Review URL: http://codereview.chromium.org/6134012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75640 0039d316-1c4b-4281-b951-d872f2087c98
* Fix two new chromium-style regressions on linux.erg@google.com2011-02-224-3/+8
| | | | | | | | | BUG=carnitas TEST=compiles Review URL: http://codereview.chromium.org/6546063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75637 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for chrome_launcher.exe command line construction.robertshield@chromium.org2011-02-221-3/+9
| | | | | | | | | | BUG=73425 TEST=NONE Review URL: http://codereview.chromium.org/6549022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75635 0039d316-1c4b-4281-b951-d872f2087c98
* Update expectations.chase@chromium.org2011-02-221-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | - linux-release-hardy/dhtml/vm_rss_final_b/vm_rss_f_b - linux-release-hardy/dhtml/vm_rss_final_r/vm_rss_f_r - linux-release-hardy/dhtml/vm_rss_final_t/vm_rss_f_t - linux-release-hardy/dhtml/vm_size_final_b/vm_size_f_b - linux-release-hardy/dhtml/vm_size_final_r/vm_size_f_r - linux-release-hardy/dhtml/vm_size_final_t/vm_size_f_t - linux-release-hardy/intl2/times/t - linux-release-hardy/moz/times/t - mac-release-10.5/intl1/times/t - mac-release-10.5/intl2/vm_rss_final_b/vm_rss_f_b - mac-release-10.5/intl2/vm_rss_final_r/vm_rss_f_r - mac-release-10.5/intl2/vm_rss_final_t/vm_rss_f_t - mac-release-10.5/intl2/vm_size_final_b/vm_size_f_b - mac-release-10.5/intl2/vm_size_final_r/vm_size_f_r - mac-release-10.5/intl2/vm_size_final_t/vm_size_f_t BUG=none TEST=perf steps are green TBR=nsylvain@chromium.org Review URL: http://codereview.chromium.org/6538097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75634 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a memory leak and add the webkit_quota library to the project.michaeln@google.com2011-02-229-30/+52
| | | | | | | | | BUG=73268 TEST=look at the memory bots this time Review URL: http://codereview.chromium.org/6469036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75633 0039d316-1c4b-4281-b951-d872f2087c98
* Histogram for tracking time to HTTP-response data available.gavinp@chromium.org2011-02-222-0/+39
| | | | | | | | | | | | | | This CL adds a new histogram, Net.HttpStartTime, which tracks the amount of time from the creation of an UrlRequestHttpJob, until the first data is available to be passed back. This is part of issue 70957, and arguably the easier half. BUG=70957 TEST=none Review URL: http://codereview.chromium.org/6537025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75632 0039d316-1c4b-4281-b951-d872f2087c98
* Return the version of Chrome when getting the session capabilities insteadkkania@chromium.org2011-02-225-11/+34
| | | | | | | | | | of the version of ChromeDriver. BUG=none TEST=none Review URL: http://codereview.chromium.org/6485027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75630 0039d316-1c4b-4281-b951-d872f2087c98
* Fix null-termination on string copy in debug-on-start code.evan@chromium.org2011-02-222-8/+1
| | | | | | | | BUG=73740 Review URL: http://codereview.chromium.org/6549019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75629 0039d316-1c4b-4281-b951-d872f2087c98
* Valgrind timeouts are in seconds. Let's set some saner values.thestig@chromium.org2011-02-221-2/+4
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3796006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75628 0039d316-1c4b-4281-b951-d872f2087c98
* Print Preview: Generate previews on Linux.thestig@chromium.org2011-02-224-74/+107
| | | | | | | | BUG=none TEST=Run with --enable-print-preview on Linux. Review URL: http://codereview.chromium.org/6546033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75627 0039d316-1c4b-4281-b951-d872f2087c98
* Out of line cleanups for Mac.erg@google.com2011-02-2216-76/+160
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6542027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75626 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor app launching code for clarity. Add unit tests.skerner@google.com2011-02-229-58/+277
| | | | | | | | | BUG=None TEST=BrowserInitTest.* Review URL: http://codereview.chromium.org/6543006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75625 0039d316-1c4b-4281-b951-d872f2087c98
* Move background_contents back to chrome, since that's part of extensions ↵jam@chromium.org2011-02-224-5/+179
| | | | | | | | which isn't moving. I incorrectly moved it. Review URL: http://codereview.chromium.org/6538095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75624 0039d316-1c4b-4281-b951-d872f2087c98