1. 21 Nov, 2017 40 commits
    • Tom Sepez's avatar
      Tidy BrokerProcess::SIGSYS_Handler() · 88c08169
      Tom Sepez authored
      Stop trying to match which syscalls are present based on compiler
      flags since we already know this via which symbols are defined in
      the system_headers/*_syscalls.h file.
      
      Add a macro for msan poisoning to reduce nesting of ifdefs.
      Use early returns to avoid "else considered harmful".
      
      Change-Id: Ic37cd41037bba11ebd25c8326d8e3db115b58254
      Reviewed-on: https://chromium-review.googlesource.com/783332Reviewed-by: default avatarRobert Sesek <rsesek@chromium.org>
      Commit-Queue: Tom Sepez <tsepez@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518411}
      88c08169
    • Francois Doray's avatar
      Add resource_coordinator::TabLifecycleUnit. · 414d24f7
      Francois Doray authored
      A TabLifecycleUnit represents a tab.
      
      The implementation will be in a separate class (TabLifecyleUnitImpl)
      because we want to expose only part of the it outside of
      chrome/browser/resource_coordinator/.
      
      E.g. the extensions system is allowed call:
      
      TabLifecycleUnit::FromWebContents(contents)->Discard(condition);
      
      but we don't want it to change the TabStripModel associated with
      a tab (TabLifecycleUnitImpl::set_tab_strip_model()).
      
      Bug: 775644
      Change-Id: Idf2ad85bf2969871be1dc09eb1eb3776bc922959
      Reviewed-on: https://chromium-review.googlesource.com/774979Reviewed-by: default avatarChris Hamilton <chrisha@chromium.org>
      Commit-Queue: François Doray <fdoray@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518410}
      414d24f7
    • bsheedy's avatar
      Fix testPoseDataUnfocusedTab flakiness · 52d21598
      bsheedy authored
      Makes testPoseDataUnfocusedTab resilient to flakes caused by poses not
      being available on the first requestAnimationFrame.
      
      Bug: 787196
      Change-Id: I77f29b040ae35890961221735637740334a255e4
      Reviewed-on: https://chromium-review.googlesource.com/782145Reviewed-by: default avatarMichael Thiessen <mthiesse@chromium.org>
      Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518409}
      52d21598
    • Victor Miura's avatar
      Add missing BindTexture in PaintCanvasVideoRenderer. · 9300c95d
      Victor Miura authored
      PaintCanvasVideoRenderer::CopyVideoFrameSingleTextureToGLTexture
      runs TexImage2D without first binding the target texture.
      This could result in the clobbering of other textures.
      
      BUG=787333,710673
      
      Change-Id: Ieff4c3f6068ad3682b3bd356491b6979624dfd66
      Reviewed-on: https://chromium-review.googlesource.com/781422Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
      Commit-Queue: Victor Miura <vmiura@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518408}
      9300c95d
    • Christopher Cameron's avatar
      Initialize color_buffer_half_float_rgba in passthrough · 58c07c7b
      Christopher Cameron authored
      If HDR is requested, DCHECK that RGBA_16F is supported.
      
      R=geofflang
      TBR=zmo
      
      Bug: 784536
      Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      Change-Id: Ib775c15c8a0a0d4f89c33f408c3dede2907d49ce
      Reviewed-on: https://chromium-review.googlesource.com/779865Reviewed-by: default avatarccameron <ccameron@chromium.org>
      Reviewed-by: default avatarGeoff Lang <geofflang@chromium.org>
      Commit-Queue: ccameron <ccameron@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518407}
      58c07c7b
    • Xiyuan Xia's avatar
      Reland "Fix missing sync error notification pop-up" · 75edba48
      Xiyuan Xia authored
      - Only MarkSinglePopupAsShown of already shown pup-ups;
      - Make LoginStateNotificationBlocker to defer showing notifications
        until the active user PrefService is initialized. This allows
        Shelf to apply user prefs first so that WebNotificationTray does
        not HidePopupBubble when user PrefService is initialized sometime
        later after session state changes to active;
      
      Bug: 721717
      Change-Id: I86e9978be7b56e92ce847f0086a5fa2e4f6b72db
      Reviewed-on: https://chromium-review.googlesource.com/782359
      Commit-Queue: Xiyuan Xia <xiyuan@chromium.org>
      Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518406}
      75edba48
    • Francois Doray's avatar
      Add resource_coordinator::LifecycleUnit. · 306bae8f
      Francois Doray authored
      A LifecycleUnit represents a unit that can switch between the "alive" and
      "discarded" states. When it is alive, the unit uses system resources and
      provides functionality to the user. When it is discarded, the unit doesn't
      use any system resource.
      
      Bug: 775644
      Change-Id: I32dcf6a2a5a06919154ebcc48a73f88eecca9a8c
      Reviewed-on: https://chromium-review.googlesource.com/773078Reviewed-by: default avatarChris Hamilton <chrisha@chromium.org>
      Commit-Queue: François Doray <fdoray@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518405}
      306bae8f
    • Reid Kleckner's avatar
      Add new bot names to chromium.clang test configs · 31256e80
      Reid Kleckner authored
      All bot names with "tester" in them will be removed after this build
      config change goes live:
      https://chromium-review.googlesource.com/c/chromium/tools/build/+/782619
      
      R=dpranke@chromium.org, hans@chromium.org
      NOTRY=true
      
      Bug: 587879
      Change-Id: I8448b6000b66fa24091040f57371091f1a138af8
      Reviewed-on: https://chromium-review.googlesource.com/783518
      Commit-Queue: Reid Kleckner <rnk@chromium.org>
      Reviewed-by: default avatarDirk Pranke <dpranke@chromium.org>
      Reviewed-by: default avatarHans Wennborg <hans@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518404}
      31256e80
    • Christopher Grant's avatar
      VR: Fix pixel tests missing dependency. · 37ff82b2
      Christopher Grant authored
      The /ui/android:ui_java dependency doesn't appear to propagate from the
      test library to executable targets that need it, so explicitly include
      ui_java in the Pixel tests as was done for unit tests.
      
      BUG=
      
      Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      Change-Id: I943e24cc0230764c05857501ac3047e7c71b0970
      Reviewed-on: https://chromium-review.googlesource.com/783150Reviewed-by: default avatarBrian Sheedy <bsheedy@chromium.org>
      Commit-Queue: Christopher Grant <cjgrant@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518403}
      37ff82b2
    • Devlin Cronin's avatar
      [Extensions] Remove callback from ExtensionService::UninstallExtension · 218df7fc
      Devlin Cronin authored
      ExtensionService::UninstallExtension takes a callback to call when the
      data is removed for the extension's origin. Of the 60+ callers to this
      method, the vast majority passed in base::Bind(&base::DoNothing), with
      a handful more passing in an empty base::Closure. Only a single caller
      (WebstoreReinstaller) passed in a "real" callback, and it appears to
      be unnecessary. Additionally, the callback is already misleading - it
      corresponds to removing storage partition data, but not chrome.storage
      data.
      
      This callback is also making a refactor on the cookies interface more
      complicated, and may not be possible to maintain.
      
      Remove the callback from the method interface.
      
      Bug: 721395, 787563
      TBR=benwells@chromium.org (c/b/apps)
      TBR=atwilson@chromium.org (c/b/background, c/b/policy)
      TBR=derat@chromium.org (c/b/chromeos)
      TBR=treib@chromium.org (c/b/search)
      TBR=estade@chromium.org (c/b/themes)
      TBR=tapted@chromium.org (c/b/ui)
      
      Change-Id: I1cbffd781fb90a40ff597e20ae80812b8646c5ef
      Reviewed-on: https://chromium-review.googlesource.com/778040
      Commit-Queue: Devlin <rdevlin.cronin@chromium.org>
      Reviewed-by: default avatarRandy Smith <rdsmith@chromium.org>
      Reviewed-by: default avatarKaran Bhatia <karandeepb@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518402}
      218df7fc
    • Noel Gordon's avatar
      Fix mojo Shared Buffer documentation example · 00fecee9
      Noel Gordon authored
      Per the current code, to create a mojo::ScopedSharedBufferHandle, one
      should call the mojo::SharedBufferHandle::Create.  Update README docs
      code example to say that.
      
      Bug: 775809
      Change-Id: Icfc86485923d1ec5fb7bb9d1b7b7125928af9e5f
      Reviewed-on: https://chromium-review.googlesource.com/781310Reviewed-by: default avatarKen Rockot <rockot@chromium.org>
      Commit-Queue: Noel Gordon <noel@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518401}
      00fecee9
    • Magnus Jedvert's avatar
      Android: Add support for generating JNI code for calling constructors · 047f375e
      Magnus Jedvert authored
      The current workaround is to make static create functions that call the
      constructor and then generate the JNI code for the static create
      function. We have a quite of lot of these cases in WebRTC and it would
      be more convenient and clean for us to be able to call the constructor
      directly.
      
      Bug: webrtc:8278,webrtc:8551
      Change-Id: I0726fb620526f810b2b06044a8b12deb1ae50f19
      Reviewed-on: https://chromium-review.googlesource.com/772410Reviewed-by: default avataragrieve <agrieve@chromium.org>
      Commit-Queue: Magnus Jedvert <magjed@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518400}
      047f375e
    • Tom Sepez's avatar
      Remove deceptive "missing kernel support" error message · 5bea8686
      Tom Sepez authored
      There are a number of other reasons why the sandbox process launcher may
      fail to launch a child. Not sure why the original authors jumped to this
      conclusion. There have been a couple of instances where folks headed down
      the wrong path trying to diagnose an issue after seeing this error.
      
      Change-Id: I558523bfbef8ae706b1598f9de2a543189de9624
      Reviewed-on: https://chromium-review.googlesource.com/782366Reviewed-by: default avatarKen Rockot <rockot@chromium.org>
      Reviewed-by: default avatarDirk Pranke <dpranke@chromium.org>
      Commit-Queue: Tom Sepez <tsepez@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518399}
      5bea8686
    • Danyao Wang's avatar
      [CPM Update] Add UMA counters to track both ways of counting page loads. · 70e34e3b
      Danyao Wang authored
      Bug: 786551
      Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
      Change-Id: I621a26b36fd3777345dd2b77890dc4aee596105b
      Reviewed-on: https://chromium-review.googlesource.com/777770
      Commit-Queue: Danyao Wang <danyao@chromium.org>
      Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518398}
      70e34e3b
    • Nate Fischer's avatar
      Android: create SafeBrowsingApiHandler with declared constructor · 6f78f94c
      Nate Fischer authored
      No change to logic.
      
      This uses getDeclaredConstructor() when creating the
      SafeBrowsingApiHandler, since this provides more information in case an
      exception is thrown.
      
      This resolves an errorprone compile warning.
      
      Test: ninja system_webview_apk (fewer compile warnings)
      Change-Id: Icdaf2aadf6fbd16fb298b140f3918b51a5fd2d43
      Reviewed-on: https://chromium-review.googlesource.com/780761Reviewed-by: default avatarVarun Khaneja <vakh@chromium.org>
      Commit-Queue: Nate Fischer <ntfschr@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518397}
      6f78f94c
    • Christopher Cameron's avatar
      Remove YUVVideoDrawQuad::ColorSpace · 2d06761b
      Christopher Cameron authored
      This is no longer read by GLRenderer -- it's just plumbed to nowhere.
      
      Bug: 759215
      Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
      Change-Id: I0667217d643c3e527947106ff1de48e04d935f0f
      Reviewed-on: https://chromium-review.googlesource.com/780147
      Commit-Queue: ccameron <ccameron@chromium.org>
      Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
      Reviewed-by: default avatarFredrik Hubinette <hubbe@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518396}
      2d06761b
    • Nate Fischer's avatar
      Android: use getDeclaredConstructor (errorprone warning) · 11da878c
      Nate Fischer authored
      No change to logic.
      
      This uses getDeclaredConstructor to instantiate an instance for the
      TestRunner. This propagates exceptions from the constructor, which means
      we can log more error cases.
      
      This resolves an errorprone compile warning (ClassNewInstance)
      
      Test: ninja system_webview_apk (fewer warning messages)
      Change-Id: I110b444ca93557d0ec138c2a05d8fda81904dfc8
      Reviewed-on: https://chromium-review.googlesource.com/780808
      Commit-Queue: Nate Fischer <ntfschr@chromium.org>
      Reviewed-by: default avataragrieve <agrieve@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518395}
      11da878c
    • Steven Bennetts's avatar
      Roll src/third_party/chromite/ ef632e4a4..575c52b3e (91 commits) · 838dee73
      Steven Bennetts authored
      https://chromium.googlesource.com/chromiumos/chromite.git/+log/ef632e4a473b..575c52b3e1f9
      
      $ git log ef632e4a4..575c52b3e --date=short --no-merges --format='%ad %ae %s'
      2017-11-17 stevenjb cros_chrome_sdk: Add --gn-gen and make --nogn-gen the default
      2017-11-17 akeshet patch: factor out cherry-pick operation from Apply
      2017-11-20 dgarrett Revert "cbuildbot_launch: Always wipe firmware/factory branches."
      2017-11-20 dgarrett cbuildbot: Tighten requirements for production configs.
      2017-10-30 hungte lib: Support 'pixz' compressor.
      2017-11-15 dgarrett generic_stages_unittest: Fix lint error.
      2017-11-17 akeshet patch: rename PatchNotMergeable -> PatchNotSubmittable
      2017-11-20 akeshet patch: add _IsAncestorOf method
      2017-11-17 akeshet patch: add _GetParents method
      2017-11-20 dgarrett Revert "config_lib: Remove OverrideConfigForTrybot."
      2017-11-20 phobbs cidb: Correct filename of migration 00063
      2017-11-17 jclinton cbuildbot: Drop the reef-uni builder
      2017-11-17 nxia validation_pool: check git log diff between local HEAD and remote_ref
      2017-11-16 bmgordon cros_sdk: Run fstrim to keep chroot.img sparse
      2017-11-13 ghines Add capri builds
      2017-11-14 pberny meowth: add builder configuration.
      2017-11-16 dgarrett cbuildbot_launch: Always wipe firmware/factory branches.
      2017-11-15 dgarrett config_lib: Fix misspelled display_label.
      2017-11-16 phobbs cidb: Allow CLAction build_id to be NULL
      2017-11-16 phobbs cidb: Add "exonerated" claction
      2017-11-17 nxia SlaveBuilderStatus should fetch builders based on exclude_experimental
      2017-11-17 chrome-bot Update config settings by config-updater.
      2017-11-01 armax x30evb & lassen: unify the configurations for lassen and x30evb.
      2017-11-03 dgarrett config_lib: Remove OverrideConfigForTrybot.
      2017-11-15 dgarrett scheduler_stages: Add buildbucket tags for GE.
      2017-11-16 phobbs annotator: Fix finalize field.value usage.
      2017-11-16 phobbs annotator: Fix _MaybeSaveFinalizeMessage
      2017-11-17 shuqianz Revert "auto_updater: Apply cold reboot for AU"
      2017-11-09 phobbs cq_stats: "Annotations finalized" checkbox
      2017-10-30 phobbs annotator: Add buildMessageTable model
      2017-11-16 stevenjb chrome_chromeos_lkgm: Use 'git -c user.email cl upload'
      2017-11-13 cywang auto_updater: Apply cold reboot for AU
      2017-11-15 dgarrett cros tryjob: Fix submission of unknown build configs.
      2017-11-15 dgarrett cros_tryjob: Add go link to -tryjob error messages.
      2017-11-16 phobbs Revert "gob_util: Support Appengine Gerrit credentials."
      2017-11-14 dgarrett branch-util: Fix branch-util-tryjob for testing.
      2017-11-15 shapiroc Fix issue with model specific au fanout
      2017-11-07 aelder deploy_chrome: Add --private_key option
      2017-11-09 phobbs locking: Fix errno.EDEADLK reference.
      2017-11-15 cmtice Revert "generic_stages: temporarily ignore all target prebuilts."
      2017-11-15 chrome-bot Update config settings by config-updater.
      2017-11-15 hiroh TestSimpleChromeWorkflowStage: Pass --nogn-gen to cros chrome-sdk
      2017-11-09 phobbs gob_util: Support Appengine Gerrit credentials.
      2017-11-08 achuith [cros_vm]: Use virtio instead of cirrus.
      2017-11-14 cmtice generic_stages: temporarily ignore all target prebuilts.
      2017-11-13 shapiroc Configure coral for chrome/android pfq and paladin
      2017-09-13 vapier cros tryjob: restore metavar
      2017-11-14 stevenjb TestSimpleChromeWorkflowStage: Pass --nogngen to cros chrome-sdk
      2017-11-14 chrome-bot Update config settings by config-updater.
      2017-11-13 xixuan cros-update: use curl instead of wget to check devserver health.
      2017-11-13 chrome-bot Update config settings by config-updater.
      2017-09-29 stevenjb cros_chrome_sdk: Automatically generate args.gn files
      2017-11-11 manojgupta Revert "generic_stages: temporarily ignore all target prebuilts."
      2016-07-20 sjg commands: Use cros_config_host instead of fdtget
      2017-11-08 dgarrett cbuildbot: Enforce tryjob safe configs.
      2017-11-01 dgarrett cros tryjob: Enforce tryjob safe configs.
      2017-11-07 manojgupta generic_stages: temporarily ignore all target prebuilts.
      2017-11-09 akeshet summarize_build_stats: link to new cq-weekly dashboard
      2017-11-09 akeshet summarize_build_stats: drop the "Top reasons" table
      2017-11-09 akeshet summarize_build_stats: add a category picker to the top X lists
      2017-11-10 chrome-bot Update config settings by config-updater.
      2017-11-09 dgarrett chromeos_config: Remove tryjob config overrides.
      2017-11-01 dgarrett cros tryjob: Update --list for production vs tryjob.
      2017-11-07 vapier image_test: move security_CroshModules autotest here
      2017-11-08 derat chromite: Make TastVMTestStage unforgiving.
      2017-11-06 nxia Get current builders_array from metadata.
      2017-11-09 stevenjb chrome_chromeos_lkgm: Add --email to 'git cl upload'
      2017-11-08 derat chromite: Run ARC Tast VM tests on betty-release.
      2017-11-08 ayatane Fix typo
      2017-11-06 ayatane Exclude provision suite from subsystems
      2017-08-21 smbarber chromeos_config: Add tatl-full builder on external waterfall
      2017-11-08 lhchavez Remove support for aosp_bertha* Android targets
      2017-11-08 stevenjb chrome_chromeos_lkgm: Remove any existing chrome checkout
      2017-11-08 chrome-bot Update config settings by config-updater.
      2017-09-28 nxia chromite changes for Cros_CL_Status_Viewer
      2017-11-06 phobbs cidb: Changes for cl_exonerator
      2017-11-07 dgarrett chromeos_config: Update generated files together.
      2017-11-07 achuith [cros_vm]: Better error messages for qemu.
      2017-11-03 pprabhu cidb_integration_test: Wait longer for mysqld to initialize.
      2017-11-08 chrome-bot Update config settings by config-updater.
      2017-10-20 dgarrett chromeos_config: Create mirrored tryjob build configs.
      2017-11-07 stevenjb cros_chromeos_lkgm: Add UploadNewLKGM stage (take 4)
      2017-11-06 akeshet pre-cq: mark failed-to-apply changes as pre-cq-failed so they don't loop
      2017-10-27 davidriley Reland "cbuildbot: Emit partition files for provisioning purposes."
      2017-11-06 derat chromite: Ensure TastVMTest runs after VMTest failure.
      2017-11-06 pprabhu cq_stats: deploy the correct cidb credentials.
      2017-11-06 pprabhu Update cidb settings for gen2 SQL instances.
      2017-11-06 pprabhu Hack fake_modules some more to allow chromite import.
      2017-10-31 dgarrett cros_uprevchrome: Tweak tempdir creation.
      2017-11-06 dgarrett cros_tryjob: Add --chrome_version passthrough option.
      2017-11-03 llozano chromite: cleanup board lists for llvm-toolchain configs.
      
      Created with:
        roll-dep src/third_party/chromite
      
      Bug: 762650
      Change-Id: I50225211a2c997aa63a9a818b68a564dfd4ad119
      Reviewed-on: https://chromium-review.googlesource.com/782820
      Commit-Queue: Steven Bennetts <stevenjb@chromium.org>
      Commit-Queue: Achuith Bhandarkar <achuith@chromium.org>
      Reviewed-by: default avatarAchuith Bhandarkar <achuith@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518394}
      838dee73
    • Andrey Kosyakov's avatar
      DevTools: migrate coverage tests to the new tests framework · 52ff5026
      Andrey Kosyakov authored
      Change-Id: I561218917c5491c4326eec34897d15af124add70
      Reviewed-on: https://chromium-review.googlesource.com/780762Reviewed-by: default avatarWill Chen <chenwilliam@chromium.org>
      Commit-Queue: Andrey Kosyakov <caseq@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518393}
      52ff5026
    • Fredrik Söderquist's avatar
      Use approximate stroke bounding boxes for SVG shapes · e9bd34c6
      Fredrik Söderquist authored
      This moves the stroke approximation code from
      LayoutSVGPath::HitTestStrokeBoundingBox to a helper in LayoutSVGShape,
      and then makes use of it in LayoutSVGShape::CalculateStrokeBoundingBox()
      (which is the generic "stroke bounds" computation for shapes) as well.
      
      This makes stroke bounding box computation O(1) (assuming a fill bbox
      exists), avoiding the generation of a stroke path, which can be
      expensive for the more "complex" parametrizations (primarily dashes.)
      
      The downside is of course lower fidelity, and the approximation will
      always be both larger than the fill bbox and larger than the "exact"
      stroke bbox.
      
      Also fix an issue where a miter-limit < 1 would incorrectly shrink the
      resulting bounding box in some cases.
      
      Bug: 435097
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
      Change-Id: Id0228bc78bb7d8db223be082106f3c3d2bcb038a
      Reviewed-on: https://chromium-review.googlesource.com/774746
      Commit-Queue: Fredrik Söderquist <fs@opera.com>
      Reviewed-by: default avatarFlorin Malita <fmalita@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518392}
      e9bd34c6
    • Adrian Elder's avatar
      Make webrtcLoggingPrivate.getLogsDirectory Linux/ChromeOS-only · fbcb74e2
      Adrian Elder authored
      Since this private api function is only intended for use by a Chrome App
      running on Linux and ChromeOS, there's no need to support other
      platforms.
      
      Bug: 775961
      Change-Id: I14ccfea7de7cdd9f1e6bbe4cd4115f8804fe4b89
      Reviewed-on: https://chromium-review.googlesource.com/780299
      Commit-Queue: Adrian Elder <aelder@chromium.org>
      Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518391}
      fbcb74e2
    • Matt Menke's avatar
      Add a DataElement::TYPE_RAW_FILE type that contains a file handle. · aba8000c
      Matt Menke authored
      This, or something like it, will eventually need to replace TYPE_FILE
      (Which just contains a path) in order to sandbox the network service
      process.
      
      Bug: 777879
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
      Change-Id: I8c67e828288443cbfc15aa774c1b97aa2f22ef29
      Reviewed-on: https://chromium-review.googlesource.com/773238
      Commit-Queue: Matt Menke <mmenke@chromium.org>
      Reviewed-by: default avatarTom Sepez <tsepez@chromium.org>
      Reviewed-by: default avatarMarijn Kruisselbrink <mek@chromium.org>
      Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518390}
      aba8000c
    • sahel's avatar
      Scrolling with Mac mouse don't cause rubber banding. · 9984945d
      sahel authored
      This cl marks GSB and GSE events that are generated from wheel events
      with timer based phaseBegan and phaseEnded as synthetic.
      This change is necessary to avoid rubber banding effect while scrolling
      by a Mac mouse or any other device that don't provide wheel phase info.
      
      Bug: 776962
      Test: RenderWidgetHostViewMacWithWheelScrollLatchingEnabledTest.TimerBasedPhaseInfo
      Change-Id: I51b318fd2790d39939d41dad2539c788bd6430eb
      Reviewed-on: https://chromium-review.googlesource.com/779659Reviewed-by: default avatarDave Tapuska <dtapuska@chromium.org>
      Reviewed-by: default avatarTimothy Dresser <tdresser@chromium.org>
      Commit-Queue: Sahel Sharifymoghaddam <sahel@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518389}
      9984945d
    • Gabriel Charette's avatar
      Fix IWYU for MessageLoop and RunLoop once again. · b164afef
      Gabriel Charette authored
      Round 3 of https: //chromium-review.googlesource.com/c/chromium/src/+/638550
      Round 2 was: https://chromium-review.googlesource.com/667938
      
      TBR=fdoray@chromium.org
      
      Bug: Missing includes prevents header cleanup in
      https://chromium-review.googlesource.com/c/chromium/src/+/638550
      
      Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win10_chromium_x64_rel_ng;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      Change-Id: I99f2d37cf342f2ed38d167b9dcc3c57173b2f9a2
      Reviewed-on: https://chromium-review.googlesource.com/782663
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Reviewed-by: default avatarGabriel Charette <gab@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518388}
      b164afef
    • Dominic Mazzoni's avatar
      AccessibleNode shouldn't cache an Element's Document. · d65c5aca
      Dominic Mazzoni authored
      AccessibleNode needs an owner document. If it's constructed without an
      element, we get the document from the JavaScript context. That part is
      fine. But if we construct it from an Element, we were caching its
      Document - but elements can be reparented to a different document,
      leading to a crash if the Element is reparented and then its original
      document is deleted.
      
      The solution is to not cache the Document if the AccessibleNode is associated
      with an Element. Just get it from the Element.
      
      Bug: 785802
      Change-Id: I8d67f9117a5d9a9c9efbd978ac4d1965e4c0eb2a
      Reviewed-on: https://chromium-review.googlesource.com/775616Reviewed-by: default avatarAlice Boxhall <aboxhall@chromium.org>
      Reviewed-by: default avatarMike West <mkwst@chromium.org>
      Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518387}
      d65c5aca
    • Stefan Zager's avatar
      Fix win-specific baselines for printing layout test · 9e97add1
      Stefan Zager authored
      The previous platform/win expected.png file was not a printing
      layout.
      
      Bug: 618082
      Change-Id: I73c5d69a4f5d45086d974178f2d21151f5bb10d5
      Reviewed-on: https://chromium-review.googlesource.com/781980Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
      Commit-Queue: Stefan Zager <szager@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518386}
      9e97add1
    • Adrian Elder's avatar
      Permit some apps to call startAudioDebugRecordings without a flag. · cf947e08
      Adrian Elder authored
      Before this change, webrtcLoggingPrivate.startAudioDebugRecordings was only
      available if switches::kEnableAudioDebugRecordingsFromExtension was present.
      
      This change adds new API permissions that permit creating audio debug recordings
      without that flag. These permissions are only granted to whitelisted apps
      installed on internal Hotrods.
      
      Bug: 777906
      Change-Id: I42d583f1a58d86c351cc41e2cd261bff4b96be9f
      Reviewed-on: https://chromium-review.googlesource.com/766708Reviewed-by: default avatarMustafa Emre Acer <meacer@chromium.org>
      Reviewed-by: default avatarGreg Levin <glevin@chromium.org>
      Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
      Commit-Queue: Adrian Elder <aelder@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518385}
      cf947e08
    • Andrew Grieve's avatar
      Android: Fix wrong output listed in process_resources.py depfile · 3c1a7c69
      Andrew Grieve authored
      Bug: 776351
      Change-Id: Iecb2d207d5c6383898f1d58e2f0fb2b61f09dbc0
      Reviewed-on: https://chromium-review.googlesource.com/782463Reviewed-by: default avatarEric Stevenson <estevenson@chromium.org>
      Commit-Queue: agrieve <agrieve@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518384}
      3c1a7c69
    • Chris Kuiper's avatar
      Reset ducking state when abandoning focus · 5837756f
      Chris Kuiper authored
      This fixes the issue that is_ducking_ remains set even after the focus was
      abandoned. This can cause the volume to be set to ducking levels when
      requesting a new focus.
      
      Bug: [internal] b/69384033
      Test: verified bug is not happening anymore
      
      Change-Id: I64751e91abe440ecd6f80ffca68c87862536b8b6
      Reviewed-on: https://chromium-review.googlesource.com/782539Reviewed-by: default avatarMounir Lamouri <mlamouri@chromium.org>
      Commit-Queue: Chris Kuiper <ckuiper@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518383}
      5837756f
    • Mathieu Perreault's avatar
      [Autofill] Simplify the interface of AddressNormalizer · 9b40d510
      Mathieu Perreault authored
      NormalizeAddress{Sync/Async} will now use the profile's region (or
      fallback to the app_locale's region) when normalizing.
      
      Bug: 767931
      Test: existing`
      Tbr: mahmadi
      Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
      Change-Id: I2bda562786e2fd6b6f50ffaf27c6fa7942eeafb7
      Reviewed-on: https://chromium-review.googlesource.com/782039
      Commit-Queue: Mathieu Perreault <mathp@chromium.org>
      Reviewed-by: default avatarSebastien Seguin-Gagnon <sebsg@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518382}
      9b40d510
    • Robert Sesek's avatar
      Add a utility to format a base::debug::StackTrace for CrashKeyString. · f12be75c
      Robert Sesek authored
      Bug: 598854
      Change-Id: Ie92935f4919e57cae338c33750458c0509a93627
      Reviewed-on: https://chromium-review.googlesource.com/782040
      Commit-Queue: Robert Sesek <rsesek@chromium.org>
      Reviewed-by: default avatarMark Mentovai <mark@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518381}
      f12be75c
    • Natalie Silvanovich's avatar
      Adding counters for index accessors · cd4a636f
      Natalie Silvanovich authored
      Bug: 
      Change-Id: I272123ce602510eef102fbe58516c5dd37c23af0
      Reviewed-on: https://chromium-review.googlesource.com/780680
      Commit-Queue: Natalie Silvanovich <natashenka@google.com>
      Reviewed-by: default avatarAdam Klein <adamk@chromium.org>
      Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518380}
      cd4a636f
    • dpapad's avatar
      WebUI: Run ESLint presubmit checks for chrome/test/data/webui. · 92a111ac
      dpapad authored
      Also fixing remaining ESLint violations automatically with --fix flag.
      
      Bug: 720034
      Change-Id: I3fe1b0fbe7b559316a26c1526abacbde0486f418
      Reviewed-on: https://chromium-review.googlesource.com/775597
      Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
      Reviewed-by: default avatarMichael Giuffrida <michaelpg@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518379}
      92a111ac
    • Sidney San Martín's avatar
      Hide a download's progress indicator on completion to remove it from the a11y tree. · 1c744691
      Sidney San Martín authored
      Bug: 773944
      Change-Id: Ic1ed323b5facb6479bdbeaf319260269426400a8
      Reviewed-on: https://chromium-review.googlesource.com/783250Reviewed-by: default avatarRobert Sesek <rsesek@chromium.org>
      Commit-Queue: Sidney San Martín <sdy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518378}
      1c744691
    • Owen Min's avatar
      Add flow=enterprisefsi into gaia sign in url dialog if force-sign-in is enabled · 7b5f8dcd
      Owen Min authored
      With this new flow parameter value, sign in dialog will not contains chrome
      sync related information in the embedded sign-in page.
      
      Bug: 784582
      Change-Id: I2b315d381750bc1ad3932d5a8bf3edcab8a64285
      Reviewed-on: https://chromium-review.googlesource.com/775693
      Commit-Queue: Owen Min <zmin@chromium.org>
      Reviewed-by: default avatarMichael Wasserman <msw@chromium.org>
      Reviewed-by: default avatarMihai Sardarescu <msarda@chromium.org>
      Reviewed-by: default avatarRoger Tawa <rogerta@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518377}
      7b5f8dcd
    • Miguel Casas's avatar
      move and rename GpuJpegDecodeAcceleratorFactoryProvider · 36687205
      Miguel Casas authored
      This CL moves gpu_jpeg_decode_accelerator_factory_provider.* from
      //media/gpu/ipc/service/ to //media/gpu/ and renames them (and the
      class inside) to GpuJpegDecodeAcceleratorFactory, updating call
      sites. No new code is intended.
      
      TBR=rjkroege@chromium.org
       for components/viz/...gpu_service_impl.cc since it's pure renaming.
      
      Bug: 787176
      Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      Change-Id: Ia85d58a9906752f49a5362c7cb85605986e44445
      Reviewed-on: https://chromium-review.googlesource.com/781583
      Commit-Queue: Miguel Casas <mcasas@chromium.org>
      Reviewed-by: default avatarXiaohan Wang <xhwang@chromium.org>
      Reviewed-by: default avatarChandan Padhi <c.padhi@samsung.com>
      Cr-Commit-Position: refs/heads/master@{#518376}
      36687205
    • Koji Ishii's avatar
      [LayoutNG] Fix NGBoxFragmentPainter::PaintText to check cached drawing · ab7cdab5
      Koji Ishii authored
      This patch fixes NGBoxFragmentPainter::PaintText to check cached
      drawing before it creates DrawingRecorder.
      
      This is currently the top crasher when NGPaintFragments is enabled,
      and this patch fixes ~7000 crashes.
      
      Bug: 714962
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
      Change-Id: I3cac0517e06b52b394ab0838db441cbb0a971296
      Reviewed-on: https://chromium-review.googlesource.com/773791
      Commit-Queue: Koji Ishii <kojii@chromium.org>
      Reviewed-by: default avatarChris Harrelson <chrishtr@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518375}
      ab7cdab5
    • Eric Lawrence's avatar
      Mixed content and SHA1 should override SECURE_WITH_POLICY_INSTALLED_CERT · 53f28560
      Eric Lawrence authored
      On ChromeOS, any prior observation of a policy-installed cert is an
      indicator of a MITM being present (the enterprise). Previously, the
      SECURE_WITH_POLICY_INSTALLED_CERT security level was returned even if
      the page contained mixed content or used a SHA-1 certificate. Instead,
      such problems should impact the security level instead of being ignored.
      
      Bug: 756639
      Change-Id: I4e87fc6039eb76ff8b5b87612c5d0dc004ddd867
      Reviewed-on: https://chromium-review.googlesource.com/779743Reviewed-by: default avatarEmily Stark <estark@chromium.org>
      Commit-Queue: Eric Lawrence <elawrence@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518374}
      53f28560
    • Vlad Tsyrklevich's avatar
      Reland "[cfi-icall] Use ProtectedMemory for localtime ptrs" · 812c7d68
      Vlad Tsyrklevich authored
      This is a reland of e77256b1 now that
      crrev.com/00fb4b7e landed fixing the lock-up
      issue we previously saw.
      
      Original change's description:
      > [cfi-icall] Use ProtectedMemory for localtime ptrs
      >
      > Control Flow Integrity [1] indirect call (cfi-icall) checking can not
      > verify that dynamically resolved function pointers call their intended
      > function. Instead we place the LibcFunctions pointers in
      > ProtectedMemory, a wrapper for keeping variables in read-only memory
      > except for when they are initialized.  After setting the pointers in
      > protected memory we can use the UnsanitizedCfiCall wrapper to disable
      > cfi-icall checking when calling them since we know they can not be
      > tampered with.
      >
      > [1] https://www.chromium.org/developers/testing/control-flow-integrity
      >
      > Bug: 771365
      > Change-Id: Ib74faff066e1107293b67d11f2a1a054bbff08b5
      > Reviewed-on: https://chromium-review.googlesource.com/769853
      > Reviewed-by: Chris Palmer <palmer@chromium.org>
      > Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
      > Reviewed-by: Peter Collingbourne <pcc@chromium.org>
      > Commit-Queue: Peter Collingbourne <pcc@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#517152}
      
      Bug: 771365
      Change-Id: Iaba5de8e37332878cd0b85c9dbdafc08e2d9a6ba
      Reviewed-on: https://chromium-review.googlesource.com/782739Reviewed-by: default avatarChris Palmer <palmer@chromium.org>
      Reviewed-by: default avatarPeter Collingbourne <pcc@chromium.org>
      Commit-Queue: Peter Collingbourne <pcc@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518373}
      812c7d68
    • Bugs Nash's avatar
      Made property class headers more readable by adding comment · fd302936
      Bugs Nash authored
      This is to prevent upcoming larger style builder functions from making
      the headers difficult to read
      
      This patch
      - Added a comment to section off style builder functions in the property
        class header files for readability
      - Moved style builder functions to end of class so that that section
        does not merge with another optional section
      - Changed the condition to print style builder functions from
        should_declare to should_implement so that the comment does not appear
        for classes that have not yet had the style builder methods moved into
        them. The should_declare member is kept as it will be required in
        future for declaration only cases.
      
      Diff of generated files:
      https://gist.github.com/BugsNash/49febc392af82920fea3e59e6c7d3224/revisions
      
      Bug: 751354
      Change-Id: Ic664b6fcad97d70bf24d46428561fff2dd6107a0
      Reviewed-on: https://chromium-review.googlesource.com/780160
      Commit-Queue: Bugs Nash <bugsnash@chromium.org>
      Reviewed-by: default avatarDarren Shen <shend@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#518372}
      fd302936