- 11 May, 2015 40 commits
-
-
lambroslambrou authored
The linux_me2me_host script launches the host process, then writes the JSON config to the child's stdin. If the host process dies before the data is written to stdin, an IOError (EPIPE) exception is raised. This CL handles the exception and retries launching the host, instead of exiting the script. To test this, I added a time.sleep(5) call between launching the host and writing the config to stdin. This allowed me enough time to simulate the error by killing the host process. BUG=473441 Review URL: https://codereview.chromium.org/1138613002 Cr-Commit-Position: refs/heads/master@{#329273}
-
jbauman authored
This was only used in tests. In that case there's no reason to send the contents to another process, so we can use the simpler cc::SoftwareOutputDevice instead. Review URL: https://codereview.chromium.org/1136553004 Cr-Commit-Position: refs/heads/master@{#329272}
-
tedchoc authored
Make it visually aligned with other buttons from chrome error pages. Make it easier to see by giving it more contrast. Update the formatting to remove an explicit height being set to give a nicer look on various orientations of devices. BUG=486816 Review URL: https://codereview.chromium.org/1136133003 Cr-Commit-Position: refs/heads/master@{#329271}
-
ttuttle authored
BUG=480565 Review URL: https://codereview.chromium.org/1097303003 Cr-Commit-Position: refs/heads/master@{#329270}
-
lgarron authored
We recently introduced SchemeIsCryptographic() and IsOriginSecure(), which are meant to replace SchemeIsSecure(). IsOriginSecure() roughly means "do we trust this content not to be tampered with before it reaches the user?" [1] This is a higher-level definition that corresponds to the new "privileged contexts" spec. [2] SchemeIsCryptographic() [3] is close to the old definition of SchemeIsSecure(), and literally just checks if the scheme is a cryptographic scheme (HTTPS or WSS as of right now). The difference is that SchemeIsCryptographic() will not consider filesystem URLs secure. [1] https://code.google.com/p/chromium/codesearch#chromium/src/content/public/common/origin_util.h&sq=package:chromium&type=cs&l=19&rcl=143099866 [2] https://www.chromium.org/Home/chromium-security/prefer-secure-origins-for-powerful-new-features and https://w3c.github.io/webappsec/specs/powerfulfeatures/ [3] https://code.google.com/p/chromium/codesearch#chromium/src/url/gurl.h&sq=package:chromium&type=cs&l=250&rcl=1430998666 BUG=362214 Review URL: https://codereview.chromium.org/1128363006 Cr-Commit-Position: refs/heads/master@{#329269}
-
varkha authored
snapping to docking. This CL adjusts the logic which selects whether a window will be snapped to half of the workspace width or will be docked at the end of the drag when the window is dragged to the edge of the workspace in the special case of the dock being visible. The CL makes it easier to snap a window to half the workspace width in this special case (and harder to inadvertently dock the window) BUG=484877 TEST=None Review URL: https://codereview.chromium.org/1127133003 Cr-Commit-Position: refs/heads/master@{#329268}
-
tapted authored
I was able to repro the flake with ~1% probability and traced. It was flaky because earlier window server messages were still pending when the test started running checks. So the first `ActivateSync` would actually break out of the message loop wait too soon. BUG=484836 Review URL: https://codereview.chromium.org/1130683004 Cr-Commit-Position: refs/heads/master@{#329267}
-
ccameron authored
Add a zoomDisabled flag (disabled so that it will default to false everywhere except where we set it) to WebGestureEvent. Note that the equivalent blink::Event does not have a corresponding gesture sub-type that sends pinch scale information, so the zoomDisabled information is not passed on either. Blink side: https://codereview.chromium.org/1127013002/ BUG=478981 Review URL: https://codereview.chromium.org/1129693002 Cr-Commit-Position: refs/heads/master@{#329266}
-
kalman authored
I was ambitious in r325585 to remove this behavior, asserting that the Port's owner should clear its own listeners. This is an optimistic expectation, and a backwards incompatible one at any rate. BUG=486715 R=rockot@chromium.org Review URL: https://codereview.chromium.org/1135123002 Cr-Commit-Position: refs/heads/master@{#329265}
-
lazyboy authored
BUG=486488 Test=Check some link that has search term, e.g. https://developer.chrome.com/extensions/browsingData#samples click on the "on the samples page" link. Review URL: https://codereview.chromium.org/1124343004 Cr-Commit-Position: refs/heads/master@{#329264}
-
kundaji authored
Also remove unused data reduction pref from preferences API. BUG=442494 Review URL: https://codereview.chromium.org/1130863002 Cr-Commit-Position: refs/heads/master@{#329263}
-
rockot authored
Two independent but related fixes here: 1. IPCSupportInitializer could previously outlive its IO runner, resulting in Mojo not being shut down in time. The EDK posts tasks directly to a MessageLoopForIO pointer because it's assumed to remain valid until EDK shutdown. This CL limits IPCSupportInitializer's lifetime to that of the IO thread, regardless of ScopedIPCSupport lifetime. 2. In single-process mode, the child IO thread cannot be used to create the client ChannelMojo, because all channels in-process must be created on the EDK IO thread. This problem only surfaced in practice because #1 above changed some shutdown ordering and tickled a DCHECK in EDK shutdown. This CL has ChannelMojo hop to its IO runner (only if necessary) before creating underlying messaging pipes. BUG=None R=morrita@chromium.org Review URL: https://codereview.chromium.org/1130413002 Cr-Commit-Position: refs/heads/master@{#329262}
-
fserb authored
Adds support for multiple thumbnail files on Single iframe NTP, fallback to the best one that opens. BUG=486879 Review URL: https://codereview.chromium.org/1129383003 Cr-Commit-Position: refs/heads/master@{#329261}
-
scheib authored
BUG=471536 Review URL: https://codereview.chromium.org/1125213005 Cr-Commit-Position: refs/heads/master@{#329260}
-
pstew authored
Summary of changes available at: https://chromium.googlesource.com/chromiumos/platform/system_api/+log/789778e..f2d7a9a BUG=486738 TBR=pneubeck@chromium.org Review URL: https://codereview.chromium.org/1128803005 Cr-Commit-Position: refs/heads/master@{#329259}
-
jbauman authored
It's not used anymore. Review URL: https://codereview.chromium.org/1139483002 Cr-Commit-Position: refs/heads/master@{#329258}
-
blink-deps-roller authored
Summary of changes available at: https://chromium.googlesource.com/chromium/blink/+log/f2af598..ff93a86 TBR=yosin@chromium.org,dpranke@chromium.org Review URL: https://codereview.chromium.org/1134583004 Cr-Commit-Position: refs/heads/master@{#329257}
-
tfarina authored
* Use the standard integer types from stdint.h instead. * Use macros.h for the DISALLOW_COPY_AND_ASSIGN macro. BUG=138542 TEST=sql_unittests R=shess@chromium.org Review URL: https://codereview.chromium.org/1133053004 Cr-Commit-Position: refs/heads/master@{#329256}
-
CodeByThePound authored
If rendering code that is shared with GrContext changes any GL state, then skia caches need to be notified. This adds InvalidateGrContext() method that will call private pure virtual method. InvalidateGrContext default argument will clear all state in GrContext. Updated classes that derive from ContextProvider. R=piman@chromium.org BUG= Review URL: https://codereview.chromium.org/1131723002 Cr-Commit-Position: refs/heads/master@{#329255}
-
bnc authored
BUG=486780 Review URL: https://codereview.chromium.org/1131513003 Cr-Commit-Position: refs/heads/master@{#329254}
-
avi authored
BUG=369661 TEST=All navigation tests remain green. Review URL: https://codereview.chromium.org/1129913004 Cr-Commit-Position: refs/heads/master@{#329253}
-
mbarbella authored
R=inferno@chromium.org BUG=450268 Review URL: https://codereview.chromium.org/1131293005 Cr-Commit-Position: refs/heads/master@{#329252}
-
ananta authored
Based on the crash dump, the crash occurs while loading a Nacl module in the renderer process. The Nacl translate thread has a valid file handle which is created by the Nacl host in the browser. It then calls into the Nacl loader to load the module which fails. The Nacl loading code in LaunchSelLdr function is closing the file handle which is passed in. Based on comments in the PnaclTranslateThread class, ownership of the file handle is only transferred on success. Thus when the call returns the PnaclTranslateThread code tries to close the file handle which is already closed. In the meantime the Windows handle is reused to something else which is tracked by our handle tracker. The second CloseHandle attempt causes a CHECK to fire because we are closing a handle which is being tracked. Fix is to not close the file handle in the PnaclTranslateThread class as ownership is transferred on call to LaunchSelHdr. BUG=426582, 475872 Review URL: https://codereview.chromium.org/1137833003 Cr-Commit-Position: refs/heads/master@{#329251}
-
sky authored
This consists of the following pieces: . html_viewer now uses ResourceProvider to get resources. . html_viewer no longer directly uses java. . The java support for mojo_runner/shell has been mode pluggable: . You specify the name of the .so to load by way of a meta-tag in the manifest. This way mandoline can specify it's own. . Android's main function calls to an InitContext() function that mandoline plugs in. . The apk can include resources to extract. These are listed in the file 'assets_list.' The gn template rule generate_mojo_shell_assets_list does this for you given a directory. . Changed around scripts to work with both mojo_shell/runner and mandoline. BUG=481698 TEST=covered by tests R=ben@chromim.org, jcivelli@chromium.org Review URL: https://codereview.chromium.org/1130763004 Cr-Commit-Position: refs/heads/master@{#329250}
-
yiyaoliu authored
Such that they are based on the same base class. BUG=452524 Review URL: https://codereview.chromium.org/1009403002 Cr-Commit-Position: refs/heads/master@{#329249}
-
huangs authored
Using https://crrev.com/15679025 as template, but with some complication involving base::CancelableTaskTracker. BUG=467712 Review URL: https://codereview.chromium.org/1122103003 Cr-Commit-Position: refs/heads/master@{#329248}
-
xhwang authored
Render frames can use this service to verify platform on ChromeOS. BUG=479836 Review URL: https://codereview.chromium.org/1053773007 Cr-Commit-Position: refs/heads/master@{#329247}
-
caitkp authored
BUG=485656,477137 Review URL: https://codereview.chromium.org/1132473003 Cr-Commit-Position: refs/heads/master@{#329246}
-
georgesak authored
BUG= Review URL: https://codereview.chromium.org/1137033004 Cr-Commit-Position: refs/heads/master@{#329245}
-
rogerta authored
Renaming sync_state to username. BUG=None Review URL: https://codereview.chromium.org/1117453002 Cr-Commit-Position: refs/heads/master@{#329244}
-
rsorokin authored
Known issues: -Cancel confirmation dialog and backdrop style should be according to crbug/482962 -Cancel confirmation dialog doesn't cover "account creation" case -Fatal error does not use 'notification-card' element. BUG=467119,469428 TEST=Manual TBR=grt@chromium.org Review URL: https://codereview.chromium.org/1115993002 Cr-Commit-Position: refs/heads/master@{#329243}
-
erikchen authored
When an application is linked against an OSX 10.9+ SDK, a blit will fail if the source and destination color formats do not match. BUG=484203 Review URL: https://codereview.chromium.org/1133163003 Cr-Commit-Position: refs/heads/master@{#329242}
-
brettw authored
The only change in ICU since the last roll is: Brings defines for the GN build in line with GYP. TBR=jungshik@chromium.org Review URL: https://codereview.chromium.org/1139783004 Cr-Commit-Position: refs/heads/master@{#329241}
-
jbudorick authored
Revert of bluetooth: Android adapter can be created with and without Bluetooth permission. (patchset #2 id:110001 of https://codereview.chromium.org/1129683002/) Reason for revert: Failing on the main waterfall: http://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20%28dbg%29/builds/27824 Original issue's description: > bluetooth: Android adapter can be created with and without Bluetooth permission. > > This enables unit tests to run with Bluetooth permission, > by adding the Bluetooth permission to native_test. > > Non-test applications will not have the Bluetooth permission, > and unit tests should also verify behavior > when the permission is not given. To enable this > createWithoutPermissionForTesting is added and > results in a state equivalent to when the permission > is not available. > > Unit tests will be built in parallel for both when Bluetooth > permission exists and doesn't. > > BUG=471536 > > Committed: https://crrev.com/30e81472dc168ea1c331a8779b3f6a14f684c54b > Cr-Commit-Position: refs/heads/master@{#329212} TBR=tedchoc@chromium.org,armansito@chromium.org,scheib@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=471536 Review URL: https://codereview.chromium.org/1137083002 Cr-Commit-Position: refs/heads/master@{#329240}
-
newt authored
BUG=483288 Review URL: https://codereview.chromium.org/1130253003 Cr-Commit-Position: refs/heads/master@{#329239}
-
jbudorick authored
Another fix for https://codereview.chromium.org/1127153004/. Hooray for non-recipe bots. BUG= TBR=perezju@chromium.org Review URL: https://codereview.chromium.org/1131143003 Cr-Commit-Position: refs/heads/master@{#329238}
-
smut authored
BUG=441392 Review URL: https://codereview.chromium.org/1089903003 Cr-Commit-Position: refs/heads/master@{#329237}
-
avi authored
BUG=369661 TEST=All tests remain green. Review URL: https://codereview.chromium.org/1129893005 Cr-Commit-Position: refs/heads/master@{#329236}
-
danakj authored
This puts all heap allocated values into scoped_ptrs in value_unittest.cc and json_writer_unittest.cc. This way ownership is explicit in the code and we don't use raw pointers to change owners of an object. R=thakis@chromium.org Review URL: https://codereview.chromium.org/1138103002 Cr-Commit-Position: refs/heads/master@{#329235}
-
eroman authored
Refactor the API for CertVerifier::Verify() and the implementation of MultiThreadedCertVerifier::Verify(). * CertVerifier::Verify() fills a |scoped_pointer<Request>*| rather than a |void*| * CertVerifier::CancelRequest(void*) has been removed. Requests are instead cancelled by resetting the scoped_ptr<Request>. * Refactored memory ownership in MultiThreadedCertVerifier so there are no manual calls to "delete". * Removed locking and the CertVerifierWorker in favor of using WorkerPool::PostTaskAndReply() BUG=475153,479336 TBR=pneubeck@chromium.org,zea@chromium.org,sergeyu@chromium.org Review URL: https://codereview.chromium.org/1115903002 Cr-Commit-Position: refs/heads/master@{#329234}
-