1. 14 May, 2015 8 commits
    • scheib's avatar
      bluetooth: Enable Android Bluetooth permissions in chrome_shell · 6bbfc661
      scheib authored
      Enable the BLUETOOTH, BLUETOOTH_ADMIN
      permissions for use with Web Bluetooth.
      
      BUG=471536
      
      Review URL: https://codereview.chromium.org/1125143003
      
      Cr-Commit-Position: refs/heads/master@{#329749}
      6bbfc661
    • smut's avatar
      Add configs for ios_dbg_simulator and ios_rel_device try bots · c3bcd8f0
      smut authored
      BUG=485435
      
      Review URL: https://codereview.chromium.org/1123283009
      
      Cr-Commit-Position: refs/heads/master@{#329748}
      c3bcd8f0
    • jshin's avatar
      Use ICU plural formatting in more places · ec68f03e
      jshin authored
      1. Recently close tabs
      2. Download cancel dialog
      3. Cloud Printer discovery
      4. extension: usb device selection
      
      For #2, some strings are revised per the string review with ainslie@.
      For both browser shutdown and incognito exit, the title is simply
      'Download in progress' and the 'go-ahead' button is simply 'Cancel download'
      (or their plural forms).
      
      Besides, recently_closed.js is also removed because it's not used any more and removing it let us drop two strings (about closed_tabs) that has become unnecessary with this CL.
      
      BUG=21407,455005,482092
      TEST=Open a new window, open multiple tabs and close the windows. In another window, go to 'Recent tabs' menu. '# tabs' for the closed window is shown as expected
      TEST=1. Go to http://www.thinkbroadband.com/download.html 2. Start downloading a single file 3. Try to quit chrome before the download is completed 4. Check the dialog popping up.
      TEST=Do the above with multiple file downloads
      TEST=Do the above two in the only open incognito window (close the only open incognito window)
      
      Review URL: https://codereview.chromium.org/1103293004
      
      Cr-Commit-Position: refs/heads/master@{#329747}
      ec68f03e
    • tbarzic's avatar
      Fix crash in echoPrivate.getUserConsent when there are no browser windows · 99b460b7
      tbarzic authored
      The method can be called from Files app, and crashes if there are no
      browser windows open.
      
      BUG=None
      
      Review URL: https://codereview.chromium.org/1139603003
      
      Cr-Commit-Position: refs/heads/master@{#329746}
      99b460b7
    • joone.hur's avatar
      Fix link errors with Skia in libui_touch_selection.so · 64b0e3fa
      joone.hur authored
      When building a debug version of Chromium in Linux with
      component=shared_library build flag, there are link errors as follows:
      
      error: undefined reference to 'SkDebugf_FileLine'
      error: undefined reference to 'SkToS32'
      
      BUG=None
      
      Review URL: https://codereview.chromium.org/1128203009
      
      Cr-Commit-Position: refs/heads/master@{#329745}
      64b0e3fa
    • rsesek's avatar
      [Mac] Remove the dedicated MachBroker thread and use a dispatch queue instead. · ca5b918a
      rsesek authored
      BUG=487674
      
      Review URL: https://codereview.chromium.org/1138513003
      
      Cr-Commit-Position: refs/heads/master@{#329744}
      ca5b918a
    • spang's avatar
      crypto: Load libchaps.so with RTLD_DEEPBIND · ba254c4e
      spang authored
      This fixes the component=shared_library build on Chrome OS. Previously,
      the TPM token initialization would crash the browser because libchaps.so
      loads a 2nd, incompatible copy of the protobuf-lite library into the
      browser.
      
      The crash happens because by default the global scope takes precedence,
      so symbols in the bundled copy shadow symbols in the system copy. This
      can lead to accessing the wrong object or calling the wrong function.
      The usual symptom is a crash during static initialization of libchaps.so.
      
      RTL_DEEPBIND rearranges the scope for libchaps.so so that the system
      library takes precedence instead. The scope for chrome is unaffected.
      
      Some other possibilities were considered:
      
        - Unbundling the library. This would cause us to lose our local
          modifications to libprotobuf on Chrome OS.
      
        - Fixing the soname so that the bundled copy is used by chaps. This
          doesn't even link because the bundled code is not ABI compatible
          with upstream.
      
        - Statically linking libchaps.so. This is tricky because we need
          position-independent static libs for its deps, and we don't support
          building those currently. It will also cause bloat.
      
      This hack is minimally invasive and allows use of shared library builds
      on Chrome OS devices.
      
      BUG=175508
      TEST=cros chrome-sdk --board=link
        GYP_DEFINES="$GYP_DEFINES component=shared_library" gclient runhooks
        ninja -C out_link/Release chrome chrome-sandbox
        deploy_chrome --board link --build-dir out_link/Release --to $IP
        Log into the system. No crash.
        TPM-backed user certs show up in chrome://certificate-manager.
      
      Review URL: https://codereview.chromium.org/1111373003
      
      Cr-Commit-Position: refs/heads/master@{#329743}
      ba254c4e
    • mpearson's avatar
      Omnibox - Strip Extra Whitespace from Custom Search Engine Names · 3c6d7afb
      mpearson authored
      Whitespace in the form of tabs and line feeds and the like can screw
      things up.
      
      This fixes the fresh.amazon.com bug.  (I tested it interatively.)
      
      By the way, there is no need to do a migration pass.
      The data will be correctly loaded when read from the
      database.  (I checked.)  While it's true the database
      will be out of date until written again, given that
      the actual data used is correct, I don't think that's
      an issue.
      
      TBR=rdevlin.cronin,isherman,lazyboy,pvalenzuela,kmadhusu,avi
      rdevlin.cronin - this trivial template URL data API change required some changes in chrome/browser/extensions
      isherman - this trivial template URL data API change required some changes in chrome/browser/importer
      lazyboy - this trivial template URL data API change required some changes in chrome/browser/renderer_context_menu
      pvalenzuela - this trivial template URL data API change required some changes in chrome/browser/sync/test/integration
      kmadhusu - this trivial template URL data API change required some changes in chrome/browser/ui/search/
      avi - this trivial template URL data API change required some changes in chrome/browser/ui/cocoa/browser/
      
      BUG=485357
      
      Review URL: https://codereview.chromium.org/1135163002
      
      Cr-Commit-Position: refs/heads/master@{#329742}
      3c6d7afb
  2. 13 May, 2015 32 commits