1. 30 Mar, 2017 29 commits
  2. 29 Mar, 2017 11 commits
    • erikchen's avatar
      macOS: Fix a bug in logic to get all memory regions. · f955ebf6
      erikchen authored
      The logic was accidentally double-counting the size of a memory region, causing
      some memory regions to get skipped.
      
      BUG=706547
      
      Review-Url: https://codereview.chromium.org/2786733004
      Cr-Commit-Position: refs/heads/master@{#460585}
      f955ebf6
    • rtoy's avatar
      Treat should().throw(undefined) like should().throw() · 6ff2dbc1
      rtoy authored
      Interpret throw(undefined) to mean that an error of any type is
      expected.  This is the same as throw().
      
      BUG=706558
      TEST=audit.html
      
      Review-Url: https://codereview.chromium.org/2783033002
      Cr-Commit-Position: refs/heads/master@{#460584}
      6ff2dbc1
    • xzhou's avatar
      Change Chrome behavior on handling Android executables on CrOS. · 7b657dbe
      xzhou authored
      ARC++ allows Android app to run on Chrome OS. It is necessary to change
      the behavior of Chrome on CrOS on handling apk and dex files. This CL
      prevents auto download apk and dex file on CrOS and also disallow auto
      open such files.
      
      BUG=694872
      
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
      
      Review-Url: https://codereview.chromium.org/2778283003
      Cr-Commit-Position: refs/heads/master@{#460583}
      7b657dbe
    • tbansal's avatar
      NQE: Make params a class · 6b61964c
      tbansal authored
      Make network quality estimator (NQE) params a class.
      
      Next CL will move the storing of the params to the Params class
      from the NQE class to make it simpler to query the params again and
      again. This CL does not make any functional change.
      
      BUG=705691
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester
      
      Review-Url: https://codereview.chromium.org/2775223004
      Cr-Commit-Position: refs/heads/master@{#460582}
      6b61964c
    • John Abd-El-Malek's avatar
      Keep track in the browser of which frames have onunload and onbeforeunload handlers. · a2c84a76
      John Abd-El-Malek authored
      This allows PlzNavigate to only pause fetching the request if it knows that the page has an onbeforeunload handler, where today it currently always goes to the renderer. This avoids delaying the network requests in the 95% cases that don't onbeforeunload handler on a process hop to the renderer.
      
      BUG=365039,705559
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
      R=dcheng@chromium.org, nasko@chromium.org
      
      Review-Url: https://codereview.chromium.org/2783723002 .
      Cr-Commit-Position: refs/heads/master@{#460581}
      a2c84a76
    • gfhuang's avatar
      [Chromecast] Add Cast Assistant product type. · 7c92b6ee
      gfhuang authored
      Bug: internal b/36447710
      Change-Id: I5db3d8203d7c7369a48bff45cbaf582a673c57b6
      Review-Url: https://codereview.chromium.org/2786723002
      Cr-Commit-Position: refs/heads/master@{#460580}
      7c92b6ee
    • anthonyvd's avatar
      [Web Payments] Constrain the dialog inner views to parent's width · 87569a5e
      anthonyvd authored
      BUG=697921
      
      Review-Url: https://codereview.chromium.org/2782303002
      Cr-Commit-Position: refs/heads/master@{#460579}
      87569a5e
    • robertogden's avatar
      Fix errors when running against staging · 78965a2a
      robertogden authored
      BUG=
      
      Review-Url: https://codereview.chromium.org/2779973005
      Cr-Commit-Position: refs/heads/master@{#460578}
      78965a2a
    • danakj's avatar
      Fix CompositorResizeLock to do something. · ea89dd54
      danakj authored
      Currently CompositorResizeLock doesn't work unless deferred since the
      base class tries to use a virtual method from its constructor which
      doesn't know about the subclass yet.
      
      This fixes that and makes the following changes in the process:
      
      I noticed that there are no longer any unit tests that depend on
      ResizeLock being an interface. So I made CompositorResizeLock the
      concrete type.
      
      I noticed that CompositorResizeLock was in located in files named
      compositor_resize_lock_aura.{h,cc} but is not named for aura anymore,
      and is in fact used in non-aura cases for mac. So I renamed the files,
      and moved the aura pieces out to DelegatedFrameHostClientAura.
      
      In order for DelegatedFrameHostClientAura to know when to release
      events however, it needs to know when the resize lock ends. So I
      introduced CompositorResizeLockClient, which tells when the lock is
      over.
      
      Importantly, the above is not the same as the CompositorLock ending.
      That can be done by calling CompositorResizeLock::UnlockCompositor,
      which does not end the resize lock, but does release the
      CompositorLock inside it. So this doesn't inform the client at
      that time until the resize lock actually ends. I've tried to make
      this more clear with function names and comments.
      
      In order to unit test everything I've pulled CompositorLock out
      of compositor.h and removed the friend relationships between
      Compositor and CompositorLock. To do so CompositorLock now has 2
      interfaces:
      - CompositorLockClient which it informs about timeouts. This is
      so that CompositorResizeLock knows when its internal
      CompositorLock is released by timeout.
      - CompositorLockDelegate which performs actual unlocking. This is
      the ui::Compositor outside of tests.
      
      Lastly, CompositorResizeLock has a timeout, and CompositorLock has
      a timeout. These happen to be the same number tho
      CompositorResizeLock allows you to override it. I've combined these
      into a single timeout (with the help of CompositorLockClient). And
      will allow GetCompositorLock to request a specific timeout. With
      that, Compositor no longer needs SetLocksWillTimeOut which has some
      action-at-distance properties. This maintains the property that the
      first to grab a lock chooses the timeout for all other locks grabbed
      during that time, however Mac code which wants no timeouts now
      doesn't cause other parts of the system to also get no timeout unless
      the mac lock is currently active without a timeout.
      
      R=piman@chromium.org
      BUG=704928
      NOTRY=true
      
      Review-Url: https://codereview.chromium.org/2773433003
      Cr-Commit-Position: refs/heads/master@{#460577}
      ea89dd54
    • servolk's avatar
      [Chromecast] Introduce a MediaCapabilitiesShlib::IsSupportedAudioConfig · 824a4faf
      servolk authored
      This new API is similar to IsSupportedVideoConfig and is strictly-typed
      unlike the old MediaCodecSupportShlib::IsSupported, which is going to
      be deprecated.
      
      Review-Url: https://codereview.chromium.org/2677143003
      Cr-Commit-Position: refs/heads/master@{#460576}
      824a4faf
    • rtoy's avatar
      Convert Analyser tests to use new Audit. · 94161a50
      rtoy authored
      Manually converted these tests to use new Audit from old Audit.
      
      BUG=704967
      TEST=Analyser/realtimeanalyser-byte-data.html
      Analyser/realtimeanalyser-downmix.html
      Analyser/realtimeanalyser-fftsize-reset.html
      Analyser/realtimeanalyser-float-data.html
      Analyser/realtimeanalyser-freq-data.html
      Analyser/realtimeanalyser-freq-data-smoothing.html
      Analyser/realtimeanalyser-multiple-calls.html
      Analyser/realtimeanalyser-zero.html
      
      Review-Url: https://codereview.chromium.org/2777983002
      Cr-Commit-Position: refs/heads/master@{#460575}
      94161a50