summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ash: Break the dependency on views examples from ash_unittests.tfarina@chromium.org2014-05-011-28/+33
| | | | | | | | | | | | | | | | | | | | | Only ash_shell needs to link with views_examples_lib to show the views examples within ash shell. This removes "test/demo" code from unit tests/production code. This dependency issue was found while we were doing https://codereview.chromium.org/201093002/ - r258758 BUG=355205 TEST=ninja -C out_cros/Debug ash ash_with_content ash_test_support ash_unittests ash_shell_lib ash_shell ash_shell_unittests All the above targets link. R=ben@chromium.org, jamescook@chromium.org, harrym@chromium.org Review URL: https://codereview.chromium.org/258003003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267406 0039d316-1c4b-4281-b951-d872f2087c98
* Roll DEPS to pick up the latest CrOS system_api.benchan@chromium.org2014-05-011-1/+1
| | | | | | | | | BUG=368148 R=derat@chromium.org Review URL: https://codereview.chromium.org/264603004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267405 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leak in RenderViewImpltest.OnNavigationHttpPostjaphet@chromium.org2014-05-016-13/+16
| | | | | | | | | | | | | | PageStateToHistoryEntry was returning a raw pointer to an object that it allocated, expecting all callers to manage its lifetime, and this test wasn't. Change PageStateToHistoryEntry to return a scoped_ptr<HistoryEntry>, and use scoped_ptrs in some other places to ensure future correct usage. BUG=368798 TEST=No more leak Review URL: https://codereview.chromium.org/267503006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267404 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a findbugs error - switch without default statement.vandebo@chromium.org2014-05-012-1/+2
| | | | | | | | | BUG=NONE R=michaelbai@chromium.org Review URL: https://codereview.chromium.org/264583009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267403 0039d316-1c4b-4281-b951-d872f2087c98
* Update .DEPS.gitchrome-admin@google.com2014-05-011-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267402 0039d316-1c4b-4281-b951-d872f2087c98
* [OTS] ots roll r112:r113bashi@chromium.org2014-05-011-1/+1
| | | | | | | | | | | This roll only includes woff2 specification update. https://code.google.com/p/ots/source/detail?r=113 https://code.google.com/p/font-compression-reference/source/detail?r=47c5016d7f20363602601aa2624229482b5c2e50 Review URL: https://codereview.chromium.org/253223004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267401 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Change required_for_activation bookkeeping.vmpstr@chromium.org2014-05-014-10/+54
| | | | | | | | | | | | | | | | | | | This patch changes the bookkeeping of whether required for activation tiles all received memory during AssignGpuMemory. The new approach doesn't rely on the fact that we process every tile in that loop, thus allowing us to early out or use another approach at getting tiles that does not guarantee that every tile will be visited. The end goal is to evaluate if we can activate when the rasterizer notifies us that all tasks given to it that are required for activation are finished rather than trying to figure this out when we schedule tasks. R=reveman, enne Review URL: https://codereview.chromium.org/257773009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267400 0039d316-1c4b-4281-b951-d872f2087c98
* aw: Restore VertexArrayOES binding correctlyboliu@chromium.org2014-05-012-44/+63
| | | | | | | | | | | | | Correctly restore the VAO binding of app. Make sure vertex attrib is restored into default (0) VAO. Also restore vertex attribute vector. BUG= NOTRY=true Review URL: https://codereview.chromium.org/255333002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267397 0039d316-1c4b-4281-b951-d872f2087c98
* Move signature_algorithm extension to the end in NSS.davidben@chromium.org2014-05-014-5/+51
| | | | | | | | | | | | WebSphere Application Server 7.0 appears to be intolerant of an empty extension at the end. To that end, also ensure we never send an empty padding extension. BUG=363583 Review URL: https://codereview.chromium.org/240633006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267396 0039d316-1c4b-4281-b951-d872f2087c98
* Add metrics to printing destination account selection.alekseys@chromium.org2014-05-014-1/+13
| | | | | | | | BUG=139170 Review URL: https://codereview.chromium.org/262523002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267395 0039d316-1c4b-4281-b951-d872f2087c98
* Update .DEPS.gitchrome-admin@google.com2014-05-011-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267394 0039d316-1c4b-4281-b951-d872f2087c98
* Roll openmax_dl in DEPS to pick up WebView fixes.benm@chromium.org2014-05-011-1/+1
| | | | | | | | | | Roll 5569:6024 BUG=368240 Review URL: https://codereview.chromium.org/265563003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267393 0039d316-1c4b-4281-b951-d872f2087c98
* Comment how the Wrapper->Core->ProcessManager->Wrapper reference cycle is ↵jyasskin@chromium.org2014-05-012-0/+3
| | | | | | | | | | broken. BUG=362058 Review URL: https://codereview.chromium.org/258363002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267392 0039d316-1c4b-4281-b951-d872f2087c98
* Check that Bluetooth adapter is present when setting adapter properties.tengs@chromium.org2014-05-015-0/+60
| | | | | | | | | TEST=new api test case BUG=364927 Review URL: https://codereview.chromium.org/250923010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267391 0039d316-1c4b-4281-b951-d872f2087c98
* Remove non-PIC specializations of media SIMD YUV conversion routines.rileya@chromium.org2014-05-014-186/+3
| | | | | | | | | | | | | | This change is made with an eye towards supporting different color ranges in YUV conversion (namely, YUVJ420P). This will require passing in a pointer to a conversion table, so the non-PIC code which hardcodes the table address is problematic (it is likely possible to code around this and maintain some of the slight perf gain of the non-PIC code, but it would require even more ugly, difficult-to-maintain code). This will cause a small performance regression for platforms where PIC code is not required (32-bit Windows only afaik). The nearest-neighbor scaling routines take the biggest perf hit (up to 20%), but are currently not actually used anywhere. The rest (straight conversion, and bilinear scaling) didn't show an appreciable performance hit in my tests. BUG=172898 Review URL: https://codereview.chromium.org/245103003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267390 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac, Win] The avatar bubble button for Guest profiles should close all ↵noms@chromium.org2014-05-014-6/+27
| | | | | | | | | | | | | | guest browsers. BUG=365719 TEST=Start Chrome with the --new-profile-management flag. Start a guest session from the User Manager. The avatar bubble should only display one button, "Exit Guest", which when pressed should close all guest browser windows and show the User Manager. Review URL: https://codereview.chromium.org/254073002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267389 0039d316-1c4b-4281-b951-d872f2087c98
* Update .DEPS.gitchrome-admin@google.com2014-05-011-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267388 0039d316-1c4b-4281-b951-d872f2087c98
* Blink roll 172996:173024eseidel@chromium.org2014-05-011-1/+1
| | | | | | | | | | http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=172996:173024&mode=html TBR= BUG= Review URL: https://codereview.chromium.org/265633004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267387 0039d316-1c4b-4281-b951-d872f2087c98
* Skip WPR archives when use-live-sites is setnednguyen@google.com2014-05-014-1/+49
| | | | | | | | BUG=368061 Review URL: https://codereview.chromium.org/260713006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267386 0039d316-1c4b-4281-b951-d872f2087c98
* Remove NOTIFICATION_EXTENSION_LOADED_DEPRECATED from c/b/appslimasdf@gmail.com2014-05-012-58/+44
| | | | | | | | | | Because NOTIFICATION_EXTENSION_LOADED_DEPRECATED is deprecated, Use ExtensionRegistryObserver instead. BUG=354367 Review URL: https://codereview.chromium.org/261523006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267385 0039d316-1c4b-4281-b951-d872f2087c98
* Smart reconnect part II - plugin and hostkelvinp@chromium.org2014-05-0112-47/+252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL serves to make the experience below better “I typically have to manually reconnect 20-40 times per day when working remotely, about 10 reconnects are due to wifi zone changes, and 20 are due to closing my laptop screen (Chromebook Pixel). “ - A customer Cause: 1. The current implementation of connectivity is not very reliable. It typically takes 5 seconds for us to grey out the app when there is no network connectivity. The app feels irresponsive to network connectivity There are three factors that causes the connection to drop 2. When the client is suspended, the host times out in 1 min. This is particular common when the user closes the lid of the laptop and walk to another room for meeting. (P1) 3. When the client is not suspended, but cannot reach the host (network changes, host_is_offline) a. If the timeout is less than 1 min, it will try to reconnect, however, the reconnect could takes up to 2 min. Most people won't have that kind of patience to wait for the reconnect. (P2) b. If the timeout is larger than 1 min, it will timeout. Fix: 1. To Fix (1) In a healthy connection, the host send video frames to the client periodically. We can improve the reliability of connection detection to within 1s by checking whether we have received any frames within the last second. 2. To Fix (1) and (2b), we listens for the change in connection state of the session, if it transits from CONNECTED to FAILED and the host is not offline, we reconnect. In order for this to work smoothly, this change increases the timeout of session initiation and session accept. 3. To Fix (3a), when we detect the network connectivity is up again. We will let the transport layer to re-negotiate the transport channels. However, if it doesn't finishes its job within 5 second, the plugin to transit to FAILED state so that the webapp can reconnect 4. I have written an unittest for the video_channel_monitoring code and tested out the app on the chromebook pixel. The experience definitely feels better. BUG=264300 Review URL: https://codereview.chromium.org/243483004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267384 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 267354 "Refactor views app list services to allow more co..."jsbell@chromium.org2014-05-0128-534/+727
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Causing Mac build failures > Refactor views app list services to allow more code sharing > > To run the toolkit-views app launcher on Mac, it needs a new app list > service + supporting classes. It's going to look a lot like the Linux > one. This CL starts by sharing what can be shared between Windows and > Linux, in preparation for using it on Mac as well. > > It does this principally by: > - Moving `app_list_shower` to `app_list_shower_views`, making it views-specific; > - Adding AppListServiceViews, which Win/Linux (and soon Mac) inherit from; > - Rearranging the delegation to eliminate some boilerplate. > > Other changes: > - Removed AppList container abstract interface (now just access AppListView); > - Removed AppListFactory (now AppListShower::MakeViewForCurrentProfile()); > - Moved AppListControllerDelegateLinux to AppListControllerDelegateViews; > - Most of AppListServiceLinux moves to AppListServiceViews; > - Added AppListShowerDelegate and AppListShower given virtual method > hooks to assist testability (previously AppListShower was given a NULL > service/delegate in tests); > - Positioning logic in AppListWin/AppListLinux made static/stateless; > - Removes the `on_should_dismiss_` closure (now just dismiss via the service; > - Big trim of AppListServiceWin and AppListServiceLinux - now these are > just platform-specific stuff. > > BUG=365977 > TEST=Just refactoring, nothing should change > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267184 > > Review URL: https://codereview.chromium.org/225053004 TBR=tapted@chromium.org Review URL: https://codereview.chromium.org/266643005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267383 0039d316-1c4b-4281-b951-d872f2087c98
* add a linux_use_debug_fission gyp variable for -gsplit-dwarfmostynb@opera.com2014-04-301-3/+16
| | | | | | | | | | | | | | Since -gsplit-dwarf breaks some extremely useful build tools (eg ccache and icecc), it deserves its own gyp variable. This setting replaces the previous hack, setting binutils_version=0. Background: ccache: https://bugzilla.samba.org/show_bug.cgi?id=10005 icecc: https://github.com/icecc/icecream/issues/86 BUG=352046 Review URL: https://codereview.chromium.org/226613005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267381 0039d316-1c4b-4281-b951-d872f2087c98
* Remove has_frame_pending_ from RenderWidget.danakj@chromium.org2014-04-302-42/+6
| | | | | | | | | | | | | This flag is used to DCHECK() that webWidget resize() caused a didInvalidateRect() in non-compositing mode. But we're in compositing mode so it serves no purpose. R=jbauman, piman BUG=362164 Review URL: https://codereview.chromium.org/266473008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267380 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress NewApi Android lint warnings in VSyncMonitor.newt@chromium.org2014-04-301-0/+2
| | | | | | | | | | | | VSyncMonitor uses android.view.Choreographer (which was added in JB) on JB and up. Android lint warns about using this new API, but the warning is a false positive since we're only using the new API on JB and up. NOTRY=true Review URL: https://codereview.chromium.org/266623003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267378 0039d316-1c4b-4281-b951-d872f2087c98
* Add more documentation to ImeAdapter.javaaurimas@chromium.org2014-04-303-23/+46
| | | | | | | | BUG=None Review URL: https://codereview.chromium.org/265493011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267377 0039d316-1c4b-4281-b951-d872f2087c98
* Remove 'AVOID_LIBYUV_FOR_ANDROID_WEBVIEW'michaelbai@chromium.org2014-04-302-14/+1
| | | | | | | | BUG=299611 Review URL: https://codereview.chromium.org/257343002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267376 0039d316-1c4b-4281-b951-d872f2087c98
* [refactor] Remove WebArrayBuffer from unittests, since now using std::vector.eroman@chromium.org2014-04-305-277/+160
| | | | | | | | | | This is a cleanup following https://codereview.chromium.org/233733004/. BUG=245025 Review URL: https://codereview.chromium.org/251213006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267375 0039d316-1c4b-4281-b951-d872f2087c98
* Use new people.get api instead of oauth2/v1/userinfo.rogerta@chromium.org2014-04-3021-216/+290
| | | | | | | | | | | | | | | | Consolidate all uses into main helper class. Details about new api: https://developers.google.com/+/api/latest/people/get Format of returned response: https://developers.google.com/+/api/latest/people#resource BUG=320354 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267068 Review URL: https://codereview.chromium.org/257773002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267374 0039d316-1c4b-4281-b951-d872f2087c98
* exclude more tests in content_browsertestszhaoqin@google.com2014-04-301-0/+2
| | | | | | | | | TBR=bruening@chromium.org BUG=NONE Review URL: https://codereview.chromium.org/264703004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267373 0039d316-1c4b-4281-b951-d872f2087c98
* Disable the "allow this extension to communicate..." prompt when websites trykalman@chromium.org2014-04-303-163/+263
| | | | | | | | | | | | to send messages to extensions from incognito mode. chrome://extensions is a perfectly ok place to enable that. Platform apps are unaffected. BUG=368414 R=asargent@chromium.org Review URL: https://codereview.chromium.org/257323002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267372 0039d316-1c4b-4281-b951-d872f2087c98
* Add a test for the disposition of session restored tabsnoel@chromium.org2014-04-301-0/+46
| | | | | | | | | | | | | | Follow on for https://src.chromium.org/viewvc/chrome?revision=218548 which fixed various background tab issues related to visibility (see for example bugs 118269, 142061, 155365 and 272962). Add a test case for session restored tabs. TEST=browser_tests --gtest_filter="SessionRestore*TabsHaveCorrectVisibilityState" BUG=118269 Review URL: https://codereview.chromium.org/258283004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267371 0039d316-1c4b-4281-b951-d872f2087c98
* Changed clang update script so it clobbers the entire chromium out dir.dyen@chromium.org2014-04-302-30/+9
| | | | | | | | | | | | | | | | When updating Clang, we must delete the all object files to force a rebuild of all source files using the new compiler. It is now safe to simply delete the chromium output directory since the update script is run from DEPS before the gyp files are generated. This is much safer as deleting object files may introduce unintended consequences with dependencies. BUG=https://code.google.com/p/nativeclient/issues/detail?id=3840 TEST=None Review URL: https://codereview.chromium.org/263443003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267370 0039d316-1c4b-4281-b951-d872f2087c98
* linux install-build-deps.sh: Add devscripts and zip.thakis@chromium.org2014-04-301-2/+2
| | | | | | | | | | | They are needed when doing branding=Chrome buildtype=Official builds. BUG=360311 R=thestig@chromium.org Review URL: https://codereview.chromium.org/265733002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267369 0039d316-1c4b-4281-b951-d872f2087c98
* docserver: Adds "API scheduled for Chrome version..." text to dev and beta APIsdanielj41@gmail.com2014-04-3010-55/+154
| | | | | | | | | BUG=303975 NOTRY=true Review URL: https://codereview.chromium.org/255473003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267367 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the next_paint_is_restore flag stuff from RenderWidget.danakj@chromium.org2014-04-304-37/+3
| | | | | | | | | | | Neither the browser nor RenderWidget do anything with these anymore. R=jbauman, piman BUG=362164 Review URL: https://codereview.chromium.org/261643004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267365 0039d316-1c4b-4281-b951-d872f2087c98
* Added two proxy fallback test: fallback by probe URL and fallback due to ↵bolian@chromium.org2014-04-307-12/+2243
| | | | | | | | | | missing Via header. BUG=320748 Review URL: https://codereview.chromium.org/259453002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267364 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce EmbeddedWorkerDevToolsAgent.horo@chromium.org2014-04-309-32/+156
| | | | | | | | | | | | EmbeddedWorkerDevToolsAgent is registered to RenderThreadImpl with worker_devtools_agent_route_id which will be introduced by https://codereview.chromium.org/252633003. This change depends on https://codereview.chromium.org/252633003/. BUG=358657 Review URL: https://codereview.chromium.org/251723002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267363 0039d316-1c4b-4281-b951-d872f2087c98
* Improve bounds checking on SB protocol chunkskenrb@chromium.org2014-04-302-3/+20
| | | | | | | | | | | SafeBrowsing parsing wasn't adequately checking all of the values it was pulling out of received packets. BUG=366398 Review URL: https://codereview.chromium.org/257783004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267362 0039d316-1c4b-4281-b951-d872f2087c98
* chrome.bluetoothLowEnergy: Implement the onServiceChanged event.armansito@chromium.org2014-04-306-1/+174
| | | | | | | | | | | | This CL implements the onServiceChanged event and adds two browser test cases for event handling. BUG=265663 TEST=browser_tests --gtest_filter=BluetoothLowEnergyApiTest.* Review URL: https://codereview.chromium.org/251193003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267361 0039d316-1c4b-4281-b951-d872f2087c98
* Delete remaining responders when Router is destructed.yzshen@chromium.org2014-04-301-0/+5
| | | | | | | | | BUG=None Test=None Review URL: https://codereview.chromium.org/263563008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267360 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup DesktopDragDropClientAuraX11pkotwicz@chromium.org2014-04-302-62/+48
| | | | | | | | | | | | | | | | This CL: - Makes the following variables apply to |source_current_window_| only: DesktopDragDropClientAuraX11::negotiated_operation_ DesktopDragDropClientAuraX11::next_position_message_ DesktopDragDropClientAuraX11::waiting_on_status_ - Removes DesktopDragDropClientAuraX11::resulting_operation_ because it is redundant BUG=None TEST=None Review URL: https://codereview.chromium.org/256453008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267359 0039d316-1c4b-4281-b951-d872f2087c98
* Land Recent QUIC Changes.rtenneti@chromium.org2014-04-3078-5618/+574
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove InterArrivalSender and Receiver from QUIC because they are never used and increase maintenance. Merge internal change: 65742790 https://codereview.chromium.org/256393002/ Remove support for the Public Reset packets of QUIC_VERSION_13. Merge internal change: 65740152 https://codereview.chromium.org/256383002/ Remove WillAcceptStreamFrames codepath since we effectively don't use this code, and flow control is the right way to deal with this issue anyways. Removes currently implemented protection measure in <internal server>/quic to use max_frame_memory_ as the maximum stream buffer size. This limit (i) is currently set to max_size_t and is therefore not currently really useful, and (ii) will be more correctly replaced by flow control. (See: b/14235094) Merge internal change: 65737468 https://codereview.chromium.org/260233004/ Test change: Set return types of response_body_size() and response_size() in SimpleClient to int64 to make them large enough to hold number of response bytes. Merge internal change: 65728046 https://codereview.chromium.org/254013004/ Swapping packet writer wrappers back to packet writers in preparation for internal server QoS changes. Not flag protected. Using Quic packet writers directly instead of wrapping them. Merge internal change: 65720400 https://codereview.chromium.org/250843009/ Only send a QUIC BLOCKED frame once at a given "sent bytes" offset. Merge internal change: 65654681 https://codereview.chromium.org/251903007/ Add Kathleen Nichols min rtt algorithm to QUIC's RttStats, so it can be used with BBR. Merge internal change: 65596807 https://codereview.chromium.org/257133002/ Discard all unencrypted crypto packets in QUIC once the connection moves to forward secure. Merge internal change: 65592364 https://codereview.chromium.org/260243003/ Remove unneccessary .get() calls to scoped_ptr (reported by clang-tidy). Merge internal change: 65590426 https://codereview.chromium.org/260033005/ Sync'ing with internal source code. + Deleted a comment per review comments from wtc. Merge internal change: 65565864 https://codereview.chromium.org/258063011/ Change QUIC SendAlgorithmInterface's UpdateRtt method to OnRttUpdated and supply a largest observed to the send algorithm instead of the latest rtt sample argument. Necessary for the new BBR implementation, which needs to know what packet was acked when an rtt sample is taken. Merge internal change: 65541913 https://codereview.chromium.org/258223002/ Print error code as string on write failure in QuicConnection. Merge internal change: 65519182 https://codereview.chromium.org/251143006/ R=rch@chromium.org Review URL: https://codereview.chromium.org/263473003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267358 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Clear begin_retro_frame_posted_ properlybrianderson@chromium.org2014-04-301-3/+12
| | | | | | | | BUG=368507 Review URL: https://codereview.chromium.org/253223003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267356 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Remove PictureLayerImpl CHECK during SyncTilingenne@chromium.org2014-04-301-8/+0
| | | | | | | | | | | I think this CHECK is firing more often than it should. It's also causing a lot of alarm on the bots and might not be real. BUG=358350 Review URL: https://codereview.chromium.org/263643006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267355 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor views app list services to allow more code sharingtapted@chromium.org2014-04-3028-727/+534
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To run the toolkit-views app launcher on Mac, it needs a new app list service + supporting classes. It's going to look a lot like the Linux one. This CL starts by sharing what can be shared between Windows and Linux, in preparation for using it on Mac as well. It does this principally by: - Moving `app_list_shower` to `app_list_shower_views`, making it views-specific; - Adding AppListServiceViews, which Win/Linux (and soon Mac) inherit from; - Rearranging the delegation to eliminate some boilerplate. Other changes: - Removed AppList container abstract interface (now just access AppListView); - Removed AppListFactory (now AppListShower::MakeViewForCurrentProfile()); - Moved AppListControllerDelegateLinux to AppListControllerDelegateViews; - Most of AppListServiceLinux moves to AppListServiceViews; - Added AppListShowerDelegate and AppListShower given virtual method hooks to assist testability (previously AppListShower was given a NULL service/delegate in tests); - Positioning logic in AppListWin/AppListLinux made static/stateless; - Removes the `on_should_dismiss_` closure (now just dismiss via the service; - Big trim of AppListServiceWin and AppListServiceLinux - now these are just platform-specific stuff. BUG=365977 TEST=Just refactoring, nothing should change Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267184 Review URL: https://codereview.chromium.org/225053004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267354 0039d316-1c4b-4281-b951-d872f2087c98
* Round up the destination buffer instead of chopping 1 pixel when the frame ↵jiayl@chromium.org2014-04-302-17/+50
| | | | | | | | | | | | | | | has odd width/height. Libyuv can handle odd width/height if the output buffer size is rounded up. This will solve the frame dropped problem when the input is a 1x1 frame. TESTED=Minimized the shared window during window sharing to produce a 1x1 black frame and verified the frame is rendered fine. BUG=360655 Review URL: https://codereview.chromium.org/253813007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267352 0039d316-1c4b-4281-b951-d872f2087c98
* HPACK Fuzzing support.jgraettinger@chromium.org2014-04-3012-13/+679
| | | | | | | | | | | | | | | | | | | | | Adds HpackFuzzUtil & tests, as well as binaries for: * Synthesizing sequences of valid header block encodings (hpack_example_generator). * Mutating a sequence of encodings (hpack_fuzz_mutator). * Fuzzing over a sequence of encoding (hpack_fuzz_wrapper). When fuzzing, the decoder attempts to decode every example. Iff successful, the example is then round-tripped back through the encoder and decoder, and expected to succeed. This lands server change 65612201 by jgraettinger. Also fix a duplicate cookie-crumb bug encountered while testing fuzzing. BUG=339578 Review URL: https://codereview.chromium.org/260123008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267351 0039d316-1c4b-4281-b951-d872f2087c98
* Change UnixDomainSocket::RecvMsg to return ScopedVector<base::ScopedFD>mdempsky@chromium.org2014-04-3012-160/+189
| | | | | | | | | | | | | This is slightly suboptimal because ScopedVector forces each ScopedFD to be individually heap allocated, but it's the simplest solution until C++11 is available. BUG=360274 NOTRY=true Review URL: https://codereview.chromium.org/258543006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267350 0039d316-1c4b-4281-b951-d872f2087c98
* Add LogoTracker to fetch search providers' logos.newt@chromium.org2014-04-3017-0/+2086
| | | | | | | | | | | | | | | | | The LogoTracker keeps track of the logo for a search provider. The logo is downloaded, cached on disk, and periodically revalidated. This code lives inside a component (search_provider_logos) so it can be used on both Android and iOS. BUG=178922 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267314 Review URL: https://codereview.chromium.org/162373002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267349 0039d316-1c4b-4281-b951-d872f2087c98