1. 01 Aug, 2019 4 commits
    • Wenjie Shi's avatar
      Implement PlatformSensorReaderWinrt and · d016df33
      Wenjie Shi authored
      PlatformSensorReaderWinrtLightSensor
      
      As the third step for implementing usage of the
      Windows.Devices.Sensors WinRT API in Chromium, this CL:
        - Implements PlatformSensorReaderWinrtBase, the base class
          used to implement all of the Windows.Devices.Sensors based
          PlatformSensorReaders.
        - Implements PlatformSensorReaderWinrtLightSensor, the derived
          class of PlatformSensorReaderWinrtBase which adds support
          for light sensors using Windows.Devices.Sensors.LightSensor.
      There is heavy use of templates since the Windows.Devices.Sensors
      API is strongly typed.
      
      Verified functionally by:
        - Built chrome.exe.
        - Ran chrome.exe on laptop with light sensor.
        - Navigated to website that polls the W3C light sensor:
          - Verified light sensor could be polled with WinRT feature
            flag on and off.
        - Ran chrome.exe on laptop without light sensor.
        - Navigated to website that polls the W3C light sensor:
          - Verified the light sensor failed to instantiate with the
            WinRT feature flag on and off.
      Also ran new PlatformSensorReaderTestWinrt unit tests.
      
      Bug: 958266
      Change-Id: Iaa69d92f9e7923099653b4f554efc2852162b53f
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1703327
      Commit-Queue: Wenjie Shi <wensh@microsoft.com>
      Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
      Reviewed-by: default avatarReilly Grant <reillyg@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683005}
      d016df33
    • Jacob DeWitt's avatar
      Send XRInputSource.profiles data to blink · b4581ba3
      Jacob DeWitt authored
      This gets attached to the XRInputSourceDescription mojo struct
      which is sent from XR device processes to blink.
      
      For WMR controllers, use:
      ["windows-mixed-reality", "touchpad-thumbstick-controller"]
      
      Populating this array for other platforms such as Oculus and OpenVR
      will come in later CL(s).
      
      Bug: 979250
      Change-Id: I06c6666c4c085f6578630c25059d07faff158bbd
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1726903
      Commit-Queue: Jacob DeWitt <jacde@chromium.org>
      Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
      Reviewed-by: default avatarAlexander Cooper <alcooper@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683004}
      b4581ba3
    • Justin Cohen's avatar
      [ios] Remove cert enforcement tests. · b0d0f2f0
      Justin Cohen authored
      This testing is gated on the phone-home capability of mac/ios, which makes
      it difficult to test.  Removing test.
      
      Bug: 989629
      Change-Id: Idb870e9f7307b2f31d7ce3eab9202a5e0c8c4acf
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1729578
      Auto-Submit: Justin Cohen <justincohen@chromium.org>
      Commit-Queue: Justin Cohen <justincohen@chromium.org>
      Reviewed-by: default avatarRyan Sleevi <rsleevi@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683003}
      b0d0f2f0
    • Lily Chen's avatar
      Remove Secure, SameSite, HttpOnly checks from CanonicalCookie::Create() · f5732c8a
      Lily Chen authored
      Create() does not need to check IsSetPermittedInContext because
      it is already checked when setting a cookie. It also does not have
      to check for a secure scheme when creating a Secure cookie, because
      that is checked when setting a cookie. Create() should only
      need to check that the cookie it creates is canonical.
      
      Bug: 989098
      Change-Id: Ic5be164cfb60825c7775c3bc58986a835afa499e
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1726789
      Commit-Queue: Lily Chen <chlily@chromium.org>
      Reviewed-by: default avatarMaks Orlovich <morlovich@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683002}
      f5732c8a
  2. 31 Jul, 2019 36 commits