- 20 Feb, 2015 40 commits
-
-
primiano authored
crrev.com/933613002 introduced a ODR violtaion by adding the DeleteForTesting method (other definition in trace_event_impl.cc). This was causing an ASan assertion (see crbug.com/459556) and failures of base_unittests in debug builds (see crrev.com/933613002 #33). This CL fixes the DeleteForTesting pattern removing the awkward ODR violation. BUG=459556,458295 TBR=nduca@chromium.org Review URL: https://codereview.chromium.org/942803002 Cr-Commit-Position: refs/heads/master@{#317316}
-
pneubeck authored
E.g. this happens for Ethernet (not the EAP configuration) which is always shared by all users. BUG=454966 Review URL: https://codereview.chromium.org/946533003 Cr-Commit-Position: refs/heads/master@{#317315}
-
simonb authored
Lock globals at the head of Add/DelEntryImpl() callback handlers. The crazy linker exports updates to _r_debug pages to the UI thread if a callback poster function has been supplied. At the time the callback is posted, the crazy linker holds the globals lock, used to prevent other threads from loading libraries (in particular through ::dlopen(), used for system libraries). When the callback is received on a different thread the receiving code needs to reacquire the lock. Make the globals lock reentrant. If there is no callback poster function then the updates to _r_debug pages happen immediately on the current thread. Here the globals lock is already held. Reentrancy ensures that we do not deadlock in that case. Fix potential inaccuracy when looking for the page to mprotect. The addresses checked for writability are currently the start of the object being modified. This is 12 or 16 bytes (on arm, 24 or 32 bytes on arm64) below the address that will actually be written, and not guaranteed to be in the same memory page where the object crosses a page boundary. Workround for races with the system linker over _r_debug protections. There is no way to safely and accurately sense whether _r_debug is in a readonly page -- we might read while the system linker is in the process of writing to it, and conclude that it is not readonly when it is. Similarly, we may set it read/write, update pointers, and then set it readonly between the system linker setting it to read/write and updating pointers. To work round this, we always map it to read/write, no matter its apparent initial state, and never map it back to readonly. This may leave a small security hole, but it is better than the alternatives (typically, a crash). BUG=450659,458346 Review URL: https://codereview.chromium.org/937813002 Cr-Commit-Position: refs/heads/master@{#317314}
-
peter authored
This is the second part of being able to open new windows on Android from a background service, where no Activity may be available. New tabs are launched with a request ID, which will be used to feed back creation of the tab to the ServiceTabLauncher. TBR=jbudorick@chromium.org BUG=454809 Review URL: https://codereview.chromium.org/904453002 Cr-Commit-Position: refs/heads/master@{#317313}
-
kaliamoorthi authored
Revert of Revert of Make sure MessagePortService is used in a thread safe manner. (patchset #1 id:1 of https://codereview.chromium.org/942583005/) Reason for revert: This does not seem to cause the problem. Original issue's description: > Revert of Make sure MessagePortService is used in a thread safe manner. (patchset #4 id:80001 of https://codereview.chromium.org/937503003/) > > Reason for revert: > This CL is suspected to cause the Win7 test (dbg) failures. > > Original issue's description: > > Added DCHECKs to all public methods of MessagePortService to make sure it is used in a thread safe manner. > > > > BUG=459115 > > > > Committed: https://crrev.com/c2d9552dde5a7dd05dc63e744c71f497f0120306 > > Cr-Commit-Position: refs/heads/master@{#317178} > > TBR=creis@chromium.org,sgurun@chromium.org > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=459115 > > Committed: https://crrev.com/60583adc54a6b043dc0b812f10869801eb0da0b4 > Cr-Commit-Position: refs/heads/master@{#317299} TBR=creis@chromium.org,sgurun@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=459115 Review URL: https://codereview.chromium.org/947483002 Cr-Commit-Position: refs/heads/master@{#317312}
-
chrome-tpm authored
Cr-Commit-Position: refs/heads/master@{#317311}
-
vitbar authored
is selected by user as the default search provider. Filled the "image_url" and "image_url_post_params" fields for the Yandex' search engine. Inserted a "Content-Type" header to the post parameter containing binary image data. R=pkasting@chromium.org Review URL: https://codereview.chromium.org/939713003 Cr-Commit-Position: refs/heads/master@{#317310}
-
tommi authored
Adding support for storing webrtc logs locally with an extension supplied unique id, for later upload. This approach has two new methods: * store() - allows the application to specify an ID for the log file that will be stored locally, but not uploaded. The file can be stored for up to 5 days. * uploadStored() - allows the application to upload a previously stored log file. Refactoring the code for less copy/paste. BUG=459750 Review URL: https://codereview.chromium.org/927233005 Cr-Commit-Position: refs/heads/master@{#317309}
-
kaliamoorthi authored
This CL fixes the documentation for split tunnel API. BUG=459609 TBR=kalman@chromium.org Review URL: https://codereview.chromium.org/944003002 Cr-Commit-Position: refs/heads/master@{#317308}
-
scroggo authored
onGetPixelsEnum was just for staging. R=dalecurtis@chromium.org,reed@chromium.org BUG=skia:3257 Review URL: https://codereview.chromium.org/944543002 Cr-Commit-Position: refs/heads/master@{#317307}
-
igsolla authored
Visual state callbacks should always be received, even if there are no pending commits. We add a test for that. See crbug/458577 for more details. BUG=458577 Review URL: https://codereview.chromium.org/939673002 Cr-Commit-Position: refs/heads/master@{#317306}
-
mgiuca authored
This CL makes it possible to navigate to the custom launcher page from the start page using the keyboard. Patch written by calamity@chromium.org. Original code review at https://codereview.chromium.org/941213003/. BUG=458884 R=mgiuca@chromium.org Review URL: https://codereview.chromium.org/924193005 Cr-Commit-Position: refs/heads/master@{#317305}
-
magjed authored
This roll is primarily done to pick up ValidateJpeg performance improvement. TBR=fbarchard Review URL: https://codereview.chromium.org/943513002 Cr-Commit-Position: refs/heads/master@{#317304}
-
bartfab authored
This CL whitelists the ARC Runtime that has been approved for use in public sessions. BUG=459614 TEST=None Review URL: https://codereview.chromium.org/932163002 Cr-Commit-Position: refs/heads/master@{#317303}
-
torne authored
Factor out the code which generates the native export stub name for a given native function, previously duplicated in two places, and also use it in a third place: when generating the table of method registrations. This will allow the table to be generated even when in native export mode, as previously the table referred to the default name which is not defined when using native exports. BUG=442327 Review URL: https://codereview.chromium.org/938373002 Cr-Commit-Position: refs/heads/master@{#317302}
-
mvanouwerkerk authored
Previously, this linked to the notifications settings screen for all sites. BUG=436594 Review URL: https://codereview.chromium.org/943993002 Cr-Commit-Position: refs/heads/master@{#317301}
-
tiago.vignatti authored
It fixes the following clang format: In file included from ../../ui/ozone/platform/dri/gbm_surface.cc:14: ../../ui/ozone/platform/dri/gbm_wrapper.h:18:3: error: [chromium-style] Classes that are ref-counted should have destructors that are declared protected or private. ~GbmWrapper() override; ^ ../../ui/ozone/platform/dri/gbm_wrapper.h:14:20: note: [chromium-style] 'GbmWrapper' inherits from 'ui::DriWrapper' here class GbmWrapper : public DriWrapper { ^ ../../ui/ozone/platform/dri/dri_wrapper.h:41:33: note: [chromium-style] 'DriWrapper' inherits from 'base::RefCountedThreadSafe<DriWrapper>' here class OZONE_EXPORT DriWrapper : public base::RefCountedThreadSafe<DriWrapper> { ^ BUG=none Review URL: https://codereview.chromium.org/940223002 Cr-Commit-Position: refs/heads/master@{#317300}
-
kaliamoorthi authored
Revert of Make sure MessagePortService is used in a thread safe manner. (patchset #4 id:80001 of https://codereview.chromium.org/937503003/) Reason for revert: This CL is suspected to cause the Win7 test (dbg) failures. Original issue's description: > Added DCHECKs to all public methods of MessagePortService to make sure it is used in a thread safe manner. > > BUG=459115 > > Committed: https://crrev.com/c2d9552dde5a7dd05dc63e744c71f497f0120306 > Cr-Commit-Position: refs/heads/master@{#317178} TBR=creis@chromium.org,sgurun@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=459115 Review URL: https://codereview.chromium.org/942583005 Cr-Commit-Position: refs/heads/master@{#317299}
-
bauerb authored
When a profile was loaded asynchronously, ProfileManager::GetProfileByPath could return it before it had been fully initialized, which could lead to... interesting problems. We now return null if that is the case, because callers of GetProfileByPath need to deal with a null return value anyway. ProfileManager::GetProfile (which is supposed to create the profile synchronously if it doesn't exist) will now DCHECK when trying to get a profile that is not fully initialized. This CL also stops AppController from trying to get a profile that has just been deleted, which would now crash otherwise. BUG=425785 Review URL: https://codereview.chromium.org/929073002 Cr-Commit-Position: refs/heads/master@{#317298}
-
glider authored
Since we've deprecated TSan v1, these aren't used anymore and may potentially hide errors in lock-free synchronization that TSan v2 could detect otherwise. BUG=349861 TBR=nduca@chromium.org,scottmg@chromium.org R=danakj@chromium.org,kbr@chromium.org Review URL: https://codereview.chromium.org/790473002 Cr-Commit-Position: refs/heads/master@{#317297}
-
tfarina authored
BUG=447445 TEST=cc_unittests R=blundell@chromium.org Review URL: https://codereview.chromium.org/929883004 Cr-Commit-Position: refs/heads/master@{#317296}
-
kaliamoorthi authored
Revert of bpf_dsl: decouple PolicyCompiler from Syscall (patchset #3 id:40001 of https://codereview.chromium.org/939943002/) Reason for revert: This CL seem to increase nacl_helper size and results in Linux_x64 failure. Original issue's description: > bpf_dsl: decouple PolicyCompiler from Syscall > > Logically, the "escape hatch PC" is now like a compiler flag, that the > user can set appropriately. In the case of SandboxBPF, it will set the > PC to Syscall::Call(-1), as before. > > This isn't a very satisfying way to resolve this cyclic dependency, but > it's the simplest and least intrusive I could think of. > > BUG=449357 > > Committed: https://crrev.com/242ad8711d9f0d58fb45b134468ad68b0835fad2 > Cr-Commit-Position: refs/heads/master@{#317237} TBR=jln@chromium.org,mdempsky@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=449357 Review URL: https://codereview.chromium.org/937303005 Cr-Commit-Position: refs/heads/master@{#317295}
-
mdempsky authored
Revert of bpf_dsl: switch PolicyCompiler from seccomp-bpf/die.h to base/logging.h (patchset #1 id:1 of https://codereview.chromium.org/945743002/) Reason for revert: To allow https://codereview.chromium.org/937303005/ to submit. Original issue's description: > bpf_dsl: switch PolicyCompiler from seccomp-bpf/die.h to base/logging.h > > PolicyCompiler runs in a normal process context, so it doesn't require > the extra low-levelness of SANDBOX_DIE. > > BUG=449357 > > Committed: https://crrev.com/deed70455d69ca62e4a5bfd2123a9376c5197797 > Cr-Commit-Position: refs/heads/master@{#317265} TBR=jln@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=449357 Review URL: https://codereview.chromium.org/944763004 Cr-Commit-Position: refs/heads/master@{#317294}
-
fukino authored
Added rounded focus ring for controls on dialog footer. Tab order should be reconsidered later as accessibility improvement. BUG=402344 TEST=manually tested Review URL: https://codereview.chromium.org/938383002 Cr-Commit-Position: refs/heads/master@{#317293}
-
igsolla authored
When swap promises are enqueued we request a commit. If there are no updates the promises should be broken and the commit skipped (EarlyOut_NoUpdates). To achieve that we request the commit by calling SetNeedsUpdateLayers instead of SetNeedsCommit in order to not unset can_cancel_commit. Note that SetNeedsUpdateLayers is a subset of SetNeedsCommit and a no-op when a commit has already been requested. BUG=458577 Review URL: https://codereview.chromium.org/925353002 Cr-Commit-Position: refs/heads/master@{#317292}
-
fukino authored
BUG=402344 TEST=manually checked Review URL: https://codereview.chromium.org/922193003 Cr-Commit-Position: refs/heads/master@{#317291}
-
hirono authored
The CL filters out errors come from analytics.js in guest session. BUG=459983 TEST=None Review URL: https://codereview.chromium.org/941253002 Cr-Commit-Position: refs/heads/master@{#317290}
-
kaliamoorthi authored
This CL adds split tunnel capability to chrome.vpnProvider interface. Furthermore, additional sanity checks are added to the input from the extensions. BUG=459609 Review URL: https://codereview.chromium.org/932063003 Cr-Commit-Position: refs/heads/master@{#317289}
-
glider authored
BUG=460034 Review URL: https://codereview.chromium.org/939073003 Cr-Commit-Position: refs/heads/master@{#317288}
-
mgiuca authored
Back and Mic buttons now have accessible names. Also added a tooltip to Back button. Added some special logic to avoid focusing the Search box in the search results page (because of the dual focus; it is more important to read out the result than the search box). BUG=458885,459859 Review URL: https://codereview.chromium.org/935293002 Cr-Commit-Position: refs/heads/master@{#317287}
-
calamity authored
This CL adds the Apps.AppListDoodleClicked histogram for when the app list doodle is clicked. BUG=459650 Review URL: https://codereview.chromium.org/930243009 Cr-Commit-Position: refs/heads/master@{#317286}
-
kaliamoorthi authored
Revert of bpf_dsl: Change bpf_dsl_unittests into actual standalone unit tests (patchset #3 id:40001 of https://codereview.chromium.org/940693004/) Reason for revert: A related CL was reverted. Reverting this to ensure that this does not cause a failure due to the revert. Original issue's description: > bpf_dsl: Change bpf_dsl_unittests into actual standalone unit tests > > Previously they were more like integration tests that relied on > seccomp-bpf for installing the policies and executing them via live > system calls. > > BUG=449357 > > Committed: https://crrev.com/fdb1befee90e6849a1743fcacbe01521261a6366 > Cr-Commit-Position: refs/heads/master@{#317238} TBR=jln@chromium.org,mdempsky@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=449357 Review URL: https://codereview.chromium.org/944823002 Cr-Commit-Position: refs/heads/master@{#317285}
-
fukino authored
BUG=454938 TEST=check repro steps described on the issue. Review URL: https://codereview.chromium.org/930933005 Cr-Commit-Position: refs/heads/master@{#317284}
-
isherman authored
BUG=450508 TEST=none R=nkostylev@chromium.org, tengs@chromium.org Review URL: https://codereview.chromium.org/935303002 Cr-Commit-Position: refs/heads/master@{#317283}
-
tfarina authored
It seems buildbot is not using this target anymore and pyauto is long gone now. See chromium-dev discussion: https://groups.google.com/a/chromium.org/d/topic/chromium-dev/b3R7ItP8R-k/discussion BUG=None R=thakis@chromium.org Review URL: https://codereview.chromium.org/919483004 Cr-Commit-Position: refs/heads/master@{#317282}
-
lizeb authored
BUG=459213 Review URL: https://codereview.chromium.org/933663003 Cr-Commit-Position: refs/heads/master@{#317281}
-
hirono authored
Currently 2x assets are not rendered correctly due to crbug.com/454886. The CL removes 2x assets as workaround. BUG=460430 TEST=None Review URL: https://codereview.chromium.org/942783004 Cr-Commit-Position: refs/heads/master@{#317280}
-
calamity authored
This CL changes the app list search text colors to match the specs. BUG=442024 Review URL: https://codereview.chromium.org/940343002 Cr-Commit-Position: refs/heads/master@{#317279}
-
fukino authored
BUG=402344 TEST=Checked manually on normal display and HiDPI display. Review URL: https://codereview.chromium.org/941283002 Cr-Commit-Position: refs/heads/master@{#317278}
-
Yuki Awano authored
BUG=none TEST=out/Release/browser_tests R=fukino@chromium.org Review URL: https://codereview.chromium.org/943983002 Cr-Commit-Position: refs/heads/master@{#317277}
-