1. 10 Mar, 2015 26 commits
    • wfh's avatar
      Support 32-bit subversion fields in base::Version. · bf68f4d5
      wfh authored
      BUG=464610
      TEST=base_unittests
      
      Review URL: https://codereview.chromium.org/985573003
      
      Cr-Commit-Position: refs/heads/master@{#319806}
      bf68f4d5
    • noel's avatar
      Update google.patch · 5ddb1905
      noel authored
      Roll up all the changes for issue 443863 and issue 401971 into google.patch.
      google.patch is not code, so no new tests or try runs needed.
      
      BUG=443863,401971
      TEST=none needed
      
      Review URL: https://codereview.chromium.org/990813002
      
      Cr-Commit-Position: refs/heads/master@{#319805}
      5ddb1905
    • zhuoyu.qian's avatar
      Rename WriteString to WriteStringPiece16 in SpdyFrameBuilder · d588d971
      zhuoyu.qian authored
      As the comment in net/spdy/spdy_frame_builder.h by hkhalil@,
      rename WriteString to WriteStringPiece16.
      
      BUG=458880
      R=bnc@chromium.org
      
      Review URL: https://codereview.chromium.org/910393003
      
      Cr-Commit-Position: refs/heads/master@{#319804}
      d588d971
    • eroman's avatar
      Add ScopedTrackers to measure the jank of base::Thread::StartWithOptions(). · f653ac3a
      eroman authored
      BUG=465458
      
      Review URL: https://codereview.chromium.org/987163002
      
      Cr-Commit-Position: refs/heads/master@{#319803}
      f653ac3a
    • stanisc's avatar
      Sync: Added extra validation to FindLocalIdToUpdate. · 4b27fc71
      stanisc authored
      This is an extra check in FindLocalIdToUpdate which should
      help to narrow down the cause of the crash in syncer::syncable::ChangeEntryIDAndUpdateChildren and gather
      more information on the state of the directory leading to the crash.
      
      BUG=362467
      
      Review URL: https://codereview.chromium.org/986463004
      
      Cr-Commit-Position: refs/heads/master@{#319802}
      4b27fc71
    • tengs's avatar
      Disable Bluetooth discoverability when Easy Unlock app closes. · b7e1ffd1
      tengs authored
      This is a temporary line-saving solution for ease of merging. A proper
      separation of concerns will be done in a future CL.
      
      BUG=442831
      
      Review URL: https://codereview.chromium.org/979353002
      
      Cr-Commit-Position: refs/heads/master@{#319801}
      b7e1ffd1
    • blink-deps-roller's avatar
      Roll src/third_party/WebKit 796d284:baae7d7 (svn 191581:191586) · 8b799164
      blink-deps-roller authored
      Summary of changes available at:
      https://chromium.googlesource.com/chromium/blink/+log/796d284..baae7d7
      
      TBR=jbroman@chromium.org,dstockwell@chromium.org
      
      Review URL: https://codereview.chromium.org/990353002
      
      Cr-Commit-Position: refs/heads/master@{#319800}
      8b799164
    • kpschoedel's avatar
      Fix xkb code for BrightnessDown. · 7b3c0e5b
      kpschoedel authored
      BUG=451771
      
      Review URL: https://codereview.chromium.org/883773003
      
      Cr-Commit-Position: refs/heads/master@{#319799}
      7b3c0e5b
    • sandersd's avatar
      Block platform verification and file IO in the CDM adapter if the CDM... · f92575a5
      sandersd authored
      Block platform verification and file IO in the CDM adapter if the CDM configuration disallows access to them.
      
      Based on the configured value of distinctiveIdentifier and persistentState, we compute permission bits and pass them through PPAPI to the CDM adapter. This enables us to enforce 'not-allowed' configs even when user permission has been granted.
      
      BUG=487452
      
      Review URL: https://codereview.chromium.org/985113003
      
      Cr-Commit-Position: refs/heads/master@{#319798}
      f92575a5
    • bnc's avatar
      Add unittest for GetNumberRequiredContinuationFrames. · d7b5304a
      bnc authored
      Add unittest for Spdy::GetNumberRequiredContinuationFrames, including the test
      case provided in the bug report.
      
      BUG=464748
      
      Review URL: https://codereview.chromium.org/995453003
      
      Cr-Commit-Position: refs/heads/master@{#319797}
      d7b5304a
    • Charlie Kehoe's avatar
      Whispernet fixes. · 4227dee8
      Charlie Kehoe authored
      Adding support for disabling the parity symbol.
      Improving reliability for long tokens.
      
      See cl/87989795 for the NaCl changes.
      
      BUG=464967
      R=rkc@chromium.org
      
      Review URL: https://codereview.chromium.org/988973002
      
      Cr-Commit-Position: refs/heads/master@{#319796}
      4227dee8
    • danakj's avatar
      base: Remove operator& from ScopedVariant and ScopedPropVariant. · 8095bc45
      danakj authored
      The operator& is dangerous as it makes code unclear what is happening.
      
      For ScopedPropVariant there is already a get() method returning a
      const& of the internal type. So doing &foo.get() will get a pointer to
      the internal type.
      
      For ScopedVariant, there is only operator&, so replace it with an
      operator*() that returns a const&. This changes callsites from doing
      something like V_FOO(&scoper) to V_FOO(&*scoper) which makes it clear
      that it is getting the address of the thing inside scoper, not the
      scoper itself.
      
      R=Nico
      BUG=464816
      
      Review URL: https://codereview.chromium.org/985853005
      
      Cr-Commit-Position: refs/heads/master@{#319795}
      8095bc45
    • maniscalco's avatar
      [Sync] Add size and crc32c to AttachmentId. · 23ae3128
      maniscalco authored
      The purpose of this change is to ensure that if a client knows about an
      attachment (i.e. has an AttachmentId or AttachmentIdProto) it will know
      the attachment's size even if the attachment has never been available on
      the local device.
      
      The idea is that by storing size locally, we can simplify remote storage
      management.
      
      Move crc32c out of Attachment now that it's part of AttachmentId.
      
      BUG=464431
      
      Review URL: https://codereview.chromium.org/982883002
      
      Cr-Commit-Position: refs/heads/master@{#319794}
      23ae3128
    • danakj's avatar
      base: Fix/add header #ifndef guards. · 0a44860e
      danakj authored
      Header guards should be defined based on the path and file name of the
      header file. Some headers have it wrong, some are missing the guards,
      and some just have the matching comment wrong.
      
      R=Nico
      BUG=464816
      
      Committed: https://crrev.com/301b392761fd8f66f3a701ab1dd011c6e7a55e19
      Cr-Commit-Position: refs/heads/master@{#319722}
      
      Review URL: https://codereview.chromium.org/985003004
      
      Cr-Commit-Position: refs/heads/master@{#319793}
      0a44860e
    • estade's avatar
      Android Autofill card unmasking prompt - Add tooltip · a0258781
      estade authored
      for store locally checkbox
      
      BUG=464640
      
      Review URL: https://codereview.chromium.org/990543002
      
      Cr-Commit-Position: refs/heads/master@{#319792}
      a0258781
    • ananta's avatar
      Second attempt at fixing pointer lock issues with Windows HiDPI. · ef5361d9
      ananta authored
      The earlier attempt https://codereview.chromium.org/973123003/ was incorrect. Reverted parts that patch
      which changed the WebMouseEventBuilder::Build function to convert from DIP to pixels and back. The initial
      conversion from DIP to pixels was not needed as the values are picked up from the Windows message which gives
      us these coordinates in pixels.
      
      Changes in this patch are as below:-
      1. The WebMouseEventBuilder::Build function has been changed to convert the WebMouseEvent::globalX and globalY values
         to DIP. The other changes in the earlier patch as mentioned above have been reverted.
      
      2. The RenderWidgetHostViewAura::UpdateMouseLockRegion function which executes on Windows was clipping the windows cursor
         to a rectangle in DIPs. We need to convert this rectangle to pixels before calling the ClipCursor API. This was the
         main reason for the lock operation not working correctly.
      
      3. I was seeing a DCHECK in the renderer process in the WebViewImpl::pointerLockMouseEvent function as we were sending
         the mouse leave message. Added code in the CanRendererHandleEvent function in the render_widget_host_view_aura.cc file
         to not send this message if we are in the mouse locked state.
      
      BUG=411634
      TEST= The main test case in bug 411634
      
      Review URL: https://codereview.chromium.org/981393002
      
      Cr-Commit-Position: refs/heads/master@{#319791}
      ef5361d9
    • hichris123's avatar
      Only enable the Low Box token on Windows 8 and 8.1 · b5c098bb
      hichris123 authored
      r319208 added the Low Box token to PreSpawnTarget. For some reason, this doesn't play well with Windows 10 preview builds, so this CL selectively enables the feature on Windows 8 & 8.1
      
      BUG=464779,455496
      
      Review URL: https://codereview.chromium.org/986933002
      
      Cr-Commit-Position: refs/heads/master@{#319790}
      b5c098bb
    • vollick's avatar
      Combine clips in content target space. · 67394b4d
      vollick authored
      We currently combine clips in the target space of the clip's transform
      node. This is incorrect. We want to combine clips in the space of the
      transform node's _content_ target space.
      
      BUG=386810
      
      Review URL: https://codereview.chromium.org/991013002
      
      Cr-Commit-Position: refs/heads/master@{#319789}
      67394b4d
    • dcastagna's avatar
      gpu: Run texture upload perf test with different texture formats. · ac138e5c
      dcastagna authored
      The two formats GL_LUMINANCE and GL_RED_EXT are now been tested in addition to GL_RGBA.
      GL_LUMINANCE and GL_RED_EXT are used for yuv resources that are uploaded by VideoLayerImpl.
      
      BUG=423481
      
      Review URL: https://codereview.chromium.org/974913003
      
      Cr-Commit-Position: refs/heads/master@{#319788}
      ac138e5c
    • orenb's avatar
      Add an initial implementation of the downloads MD settings page. · 61f61374
      orenb authored
      Note that the "Change" button for selecting the downloads path doesn't do
      anything meaningful yet. We still need to figure out how to call into the
      C++ layer to display the appropriate picker.
      
      BUG=464785
      
      Review URL: https://codereview.chromium.org/988783002
      
      Cr-Commit-Position: refs/heads/master@{#319787}
      61f61374
    • pkotwicz's avatar
      ash: Add missing xdisplaycheck dependency for tests · ceeb7432
      pkotwicz authored
      BUG=465344
      TEST=linux_chromium_clobber_rel_ng does not block new ash_unittests from landing
      
      Review URL: https://codereview.chromium.org/985853004
      
      Cr-Commit-Position: refs/heads/master@{#319786}
      ceeb7432
    • dgrogan's avatar
      Revert of Roll PDFium to 1e580a10fad09833552deb797128e00c50d74bce (patchset #1... · bcbfc458
      dgrogan authored
      Revert of Roll PDFium to 1e580a10fad09833552deb797128e00c50d74bce (patchset #1 id:1 of https://codereview.chromium.org/989213003/)
      
      Reason for revert:
      Broke at least Win8 GN
      
      http://build.chromium.org/p/chromium.win/builders/Win8%20GN/builds/5379/steps/compile/logs/stdio
      
      FAILED: ninja -t msvc -e environment.x86 -- E:\b\build\goma/gomacc.exe "E:\b\depot_tools\win_toolchain\vs2013_files\VC\bin\amd64_x86/cl.exe" /nologo /showIncludes /FC @obj/third_party/pdfium/samples/pdfium_diff.image_diff_png.obj.rsp /c ../../third_party/pdfium/samples/image_diff_png.cc /Foobj/third_party/pdfium/samples/pdfium_diff.image_diff_png.obj /Fdobj/third_party/pdfium/samples/pdfium_diff_cc.pdb
      e:\b\build\slave\win8_gn\build\src\third_party\pdfium\samples\image_diff_png.cc(246) :error C2220: warning treated as error - no 'object' file generated
      e:\b\build\slave\win8_gn\build\src\third_party\pdfium\samples\image_diff_png.cc(246) : warning C4702: unreachable code
      e:\b\build\slave\win8_gn\build\src\third_party\pdfium\samples\image_diff_png.cc(574) : warning C4702: unreachable code
      FAILED: ninja -t msvc -e environment.x86 -- E:\b\build\goma/gomacc.exe "E:\b\depot_tools\win_toolchain\vs2013_files\VC\bin\amd64_x86/cl.exe" /nologo /showIncludes /FC @obj/third_party/pdfium/samples/pdfium_test.image_diff_png.obj.rsp /c ../../third_party/pdfium/samples/image_diff_png.cc /Foobj/third_party/pdfium/samples/pdfium_test.image_diff_png.obj /Fdobj/third_party/pdfium/samples/pdfium_test_cc.pdb
      e:\b\build\slave\win8_gn\build\src\third_party\pdfium\samples\image_diff_png.cc(246) :error C2220: warning treated as error - no 'object' file generated
      e:\b\build\slave\win8_gn\build\src\third_party\pdfium\samples\image_diff_png.cc(246) : warning C4702: unreachable code
      e:\b\build\slave\win8_gn\build\src\third_party\pdfium\samples\image_diff_png.cc(574) : warning C4702: unreachable code
      ninja: build stopped: subcommand failed.
      
      Original issue's description:
      > Roll PDFium to 1e580a10fad09833552deb797128e00c50d74bce
      >
      > This brings in:
      > 1e580a1 Fix multiply defined macro in zlib.h on linux_chromium_clobber_rel_ng builder.
      > 0700106 Make conversions for CPDF_Link explicit.
      > 8842c62 Fix the pdfium component build.
      > 5a370d7 Make conversion between CPDF_Dest and its object explicit.
      > 7348fae Add gmock to .gitignore
      > 624b6c1 Make conversion between CPDF_Action and its dictionary explicit.
      > 61c25ee Merge to Master: Fix a compiling error in fxjs_v8.h
      > e1671bd Kill off JS_ErrorString type.
      > b720d0a Return error information from pdfium to JS.
      > 944ccad Do hit tests against Annots in reverse order.
      > 5b47dbf Remove unused IDS_ constants from pdfium.
      > 3d25502 Pull in gmock for standalone pdfium builds.
      > ec61a85 Upgrade openjpeg to revision 2997.
      > 42a8ada Implement a delegate for EmbedderTests.
      > 57e4c86 Kill off unused IFXJS interface methods.
      > 4351ac2 Fix compilation error on Windows.
      > f9cfdda Add small flate decode unit test.
      > e796478 Kill multi-byte comments in fxet_list.h
      > 23f9288 Convert pdfium expected test results to PNG format.
      > 0fd53cf Fix GN build after PNG support backport
      > ef1e85c Backport PNG output format to origin/master branch.
      >
      > BUG=445408,457493,PDFIUM:123
      >
      > Committed: https://crrev.com/608e59f9ceecd5b60ae5e50c4f0da4bc6a7f405e
      > Cr-Commit-Position: refs/heads/master@{#319781}
      
      TBR=brettw@chromium.org,thestig@chromium.org,tsepez@chromium.org
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=445408,457493,PDFIUM:123
      
      Review URL: https://codereview.chromium.org/996523002
      
      Cr-Commit-Position: refs/heads/master@{#319785}
      bcbfc458
    • bnc's avatar
      Improve code with early returns. · f5a07dab
      bnc authored
      Improve SpdyHttpUtils::GetUrlFromHeaderBlock() implementation with early
      returns.  Get rid of a number of temporary variables that were declared too far
      from where they were first used.
      
      Also remove SPDY2-specific code, as SPDY2 is no longer supported in Chromium.
      
      Acknowledgements to Daniel Bratell for suggesting to use append instead of
      inline operator+ that would create unnecessary temporary strings, see
      https://crrev.com/965773002.
      
      BUG=
      
      Review URL: https://codereview.chromium.org/996483002
      
      Cr-Commit-Position: refs/heads/master@{#319784}
      f5a07dab
    • halton.huo's avatar
      Support of specify local prebuilt network service file. · 176dd4a9
      halton.huo authored
      This change is chromium part of
      https://codereview.chromium.org/921053003/
      
      And out-of-date TODO is removed as well.
      
      TEST=
      BUG=458409
      
      Review URL: https://codereview.chromium.org/983143003
      
      Cr-Commit-Position: refs/heads/master@{#319783}
      176dd4a9
    • estade's avatar
      Autofill - more translated strings in card unmasking prompt · 0d995e6a
      estade authored
      BUG=none
      
      Review URL: https://codereview.chromium.org/983413005
      
      Cr-Commit-Position: refs/heads/master@{#319782}
      0d995e6a
    • tsepez's avatar
      Roll PDFium to 1e580a10fad09833552deb797128e00c50d74bce · 608e59f9
      tsepez authored
      This brings in:
      1e580a1 Fix multiply defined macro in zlib.h on linux_chromium_clobber_rel_ng builder.
      0700106 Make conversions for CPDF_Link explicit.
      8842c62 Fix the pdfium component build.
      5a370d7 Make conversion between CPDF_Dest and its object explicit.
      7348fae Add gmock to .gitignore
      624b6c1 Make conversion between CPDF_Action and its dictionary explicit.
      61c25ee Merge to Master: Fix a compiling error in fxjs_v8.h
      e1671bd Kill off JS_ErrorString type.
      b720d0a Return error information from pdfium to JS.
      944ccad Do hit tests against Annots in reverse order.
      5b47dbf Remove unused IDS_ constants from pdfium.
      3d25502 Pull in gmock for standalone pdfium builds.
      ec61a85 Upgrade openjpeg to revision 2997.
      42a8ada Implement a delegate for EmbedderTests.
      57e4c86 Kill off unused IFXJS interface methods.
      4351ac2 Fix compilation error on Windows.
      f9cfdda Add small flate decode unit test.
      e796478 Kill multi-byte comments in fxet_list.h
      23f9288 Convert pdfium expected test results to PNG format.
      0fd53cf Fix GN build after PNG support backport
      ef1e85c Backport PNG output format to origin/master branch.
      
      BUG=445408,457493,PDFIUM:123
      
      Review URL: https://codereview.chromium.org/989213003
      
      Cr-Commit-Position: refs/heads/master@{#319781}
      608e59f9
  2. 09 Mar, 2015 14 commits