1. 25 Apr, 2015 38 commits
  2. 24 Apr, 2015 2 commits
    • jfroy's avatar
      Add power monitoring to the Cast VideoToolbox encoder. · 5f83e5be
      jfroy authored
      Chromium provides PowerObserver and PowerMonitor objects to allow
      subsystems to react to power suspend and resume events. On iOS this
      actually tracks app lifecycle events for backgrounding.
      
      The patch adds a power observer that destroys the compression session
      on power suspend events and re-initializes the compression session on
      power resume events. This allows the encoder to properly transition to
      the background on iOS and resume when the app comes back to the
      foreground.
      
      Note that for this to work overall, the sender client must create a
      background task to allow networking to continue. Otherwise the receiver
      will timeout per spec.
      
      R=miu@chromium.org
      BUG=477895
      
      Review URL: https://codereview.chromium.org/1094403002
      
      Cr-Commit-Position: refs/heads/master@{#326938}
      5f83e5be
    • cjhopman's avatar
      Fix chrome_shell_java deps · 54f851d3
      cjhopman authored
      The native parts of dom_distiller will try to register jni methods on
      startup. This fails if the apk doesn't contain the corresponding java
      bits. So, even though chrome_shell_apk doesn't actually use the java
      stuff in dom_distiller_content_java, it still needs to depend on it and
      include it in the apk.
      
      Review URL: https://codereview.chromium.org/1090153007
      
      Cr-Commit-Position: refs/heads/master@{#326937}
      54f851d3