1. 02 Aug, 2019 40 commits
    • Peter Kotwicz's avatar
      Add dedicated OWNERS for WebAPK metrics · 91f4a33d
      Peter Kotwicz authored
      This CL makes chrome/browser/webapps OWNERS also OWNERS of WebAPK
      metrics in chrome/browser/metrics
      
      BUG=None
      
      Change-Id: I874c8560e0bfd393ad85b3ff85030d668bb2b993
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1733115Reviewed-by: default avatarYaron Friedman <yfriedman@chromium.org>
      Commit-Queue: Yaron Friedman <yfriedman@chromium.org>
      Auto-Submit: Peter Kotwicz <pkotwicz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683653}
      91f4a33d
    • Matt Menke's avatar
      Move and rename IOThreadBrowserTests. · 9b1bf865
      Matt Menke authored
      There is no IOThread anymore, and it's really testing browser/net stuff,
      so move it in there. The new name is NetworkQualityEstimatorBrowserTest,
      since that's what all the tests are checking.
      
      I removed on test for PAC script downloads that are hung during
      shutdown, as that's no longer an issue the browser process has to worry
      about - that's now a concern just for the NetworkService.
      
      Bug: 934009
      Change-Id: Ic7e042c83c767a2ee8674bad12ce3dea53508c21
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1730857Reviewed-by: default avatarEric Roman <eroman@chromium.org>
      Reviewed-by: default avatarTarun Bansal <tbansal@chromium.org>
      Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
      Commit-Queue: Matt Menke <mmenke@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683652}
      9b1bf865
    • v8-ci-autoroll-builder's avatar
      Update V8 to version 7.8.58. · 70a976d2
      v8-ci-autoroll-builder authored
      Summary of changes available at:
      https://chromium.googlesource.com/v8/v8/+log/b43eb88b..75502974
      
      Please follow these instructions for assigning/CC'ing issues:
      https://v8.dev/docs/triage-issues
      
      Please close rolling in case of a roll revert:
      https://v8-roll.appspot.com/
      This only works with a Google account.
      
      CQ_INCLUDE_TRYBOTS=luci.chromium.try:linux-blink-rel
      CQ_INCLUDE_TRYBOTS=luci.chromium.try:linux_optional_gpu_tests_rel
      CQ_INCLUDE_TRYBOTS=luci.chromium.try:mac_optional_gpu_tests_rel
      CQ_INCLUDE_TRYBOTS=luci.chromium.try:win_optional_gpu_tests_rel
      CQ_INCLUDE_TRYBOTS=luci.chromium.try:android_optional_gpu_tests_rel
      
      TBR=hablich@chromium.org,v8-waterfall-sheriff@grotations.appspotmail.com
      
      Change-Id: I10ac03e3680f4e8e5fe127c05385da0c1ccab049
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1731647Reviewed-by: default avatarv8-ci-autoroll-builder <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
      Commit-Queue: v8-ci-autoroll-builder <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
      Cr-Commit-Position: refs/heads/master@{#683651}
      70a976d2
    • Ken Rockot's avatar
      Remove "chrome" and "chrome_renderer" services · 76c1237a
      Ken Rockot authored
      This eliminates the existence of the "chrome" and "chrome_renderer"
      services as well as general support for embedder-provided process-wide
      browser and renderer Service Manager services.
      
      Remanining browser<->renderer interfaces which used these services have
      been migrated to use direct receiver binding via
      content.mojom.ChildProcess or content.mojom.ChildProcessHost messages.
      
      Change-Id: I74f012aafe77fdcbbba8d93d193d3ded8d63d445
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1729968Reviewed-by: default avatarLuke Halliwell <halliwell@chromium.org>
      Reviewed-by: default avatarBo <boliu@chromium.org>
      Reviewed-by: default avatarTom Sepez <tsepez@chromium.org>
      Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
      Commit-Queue: Ken Rockot <rockot@google.com>
      Cr-Commit-Position: refs/heads/master@{#683650}
      76c1237a
    • Max Moroz's avatar
      [libFuzzer] Docs: re-write the Efficient Fuzzing Guide as per feedback from the tech writer. · 4a8415ab
      Max Moroz authored
      Also removed "Custom options" section as it doesn't need to be advertised anymore.
      The only real usecase we still may have is `close_fd_mask`, but it's discouraged and
      we better use it on a case-by-case basis, when it's inevitable.
      
      Bug: 539572, 827228
      Change-Id: I036303e1da0c844be4c3970ba5351651a2251a89
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1729847
      Commit-Queue: Max Moroz <mmoroz@chromium.org>
      Reviewed-by: default avatarJonathan Metzman <metzman@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683649}
      4a8415ab
    • Eric Foo's avatar
      Updated OWNERS files to new component as per feedback from rsesek@ · 234cc1c1
      Eric Foo authored
      Bug: 977050
      Change-Id: I8d646c24f67bc07d9653c8b42b4e782aaa4b89c4
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1732690
      Auto-Submit: Eric Foo <efoo@chromium.org>
      Reviewed-by: default avatarRobert Sesek <rsesek@chromium.org>
      Commit-Queue: Robert Sesek <rsesek@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683648}
      234cc1c1
    • Jan Wilken Dörrie's avatar
      [Passwords] Minor Leak Detection Proto Packet Fix · f84cd3c6
      Jan Wilken Dörrie authored
      This change modifies the leak_detection_api.proto to have the same
      package name as the server side definition.
      
      Bug: 986298
      Change-Id: I259b4c78c59dc9898a212a88f294e9b20414086a
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1732079
      Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org>
      Reviewed-by: default avatarVasilii Sukhanov <vasilii@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683647}
      f84cd3c6
    • Carlos Caballero's avatar
      Remove references of MessageLoopForIO in /chrome/browser/safe_browsing · cb38a6e9
      Carlos Caballero authored
      MessageLoopForIO will go away soon use ScopedTaskEnvironment instead.
      
      ScopedTaskEnvironment will per default start a ThreadPool, which should
      be fine in most of the cases. If you believe your test needs to make sure
      that no ThreadPool runs let me know and I will update the patch.
      
      BUG=891670
      This CL was uploaded by git cl split.
      
      R=nparker@chromium.org
      
      Change-Id: I70d76f6297874ac4a35bfe5e52a5033a081b09be
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1733533
      Auto-Submit: Carlos Caballero <carlscab@google.com>
      Reviewed-by: default avatarMustafa Emre Acer <meacer@chromium.org>
      Reviewed-by: default avatarNathan Parker <nparker@chromium.org>
      Commit-Queue: Nathan Parker <nparker@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683646}
      cb38a6e9
    • Mike Reed's avatar
      add SK_SUPPORT_LEGACY_BICUBIC_FILTERING to guard pending skia change · 0163adbf
      Mike Reed authored
      Bug: skia:9293
      Change-Id: I5adae8c65415ffa96af2c636aa93581a2658be2d
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1733435
      Commit-Queue: Mike Reed <reed@google.com>
      Commit-Queue: Florin Malita <fmalita@chromium.org>
      Reviewed-by: default avatarFlorin Malita <fmalita@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683645}
      0163adbf
    • Changwan Ryu's avatar
      Clean-up after moving ScopedSysTraceEvent to base · 06e7cc19
      Changwan Ryu authored
      This should be landed after the upstream fix
      https://chromium-review.googlesource.com/c/chromium/src/+/1730313
      and the downstream fix
      https://chrome-internal-review.googlesource.com/c/clank/internal/apps/+/1560327
      land.
      
      Bug: 817644
      Change-Id: I66a986374804b8e6642275ee08c2412458c12258
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1730781Reviewed-by: default avatarNate Fischer <ntfschr@chromium.org>
      Commit-Queue: Changwan Ryu <changwan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683644}
      06e7cc19
    • Etienne Bergeron's avatar
      Rename and expose GetActualFontName · 145520c8
      Etienne Bergeron authored
      This CL is renaming the GetActualFontNameForTesting to GetActualFontName.
      This function will be used in future CL.
      
      The difference between GetFontName and GetActualFontName is related to
      font mapping. The requested font name is the one the user is asking for
      and the mapped is the one used.
      
      We are exposing it since we want to get rid of the difference between
      GDI and DirectWrite:
      
      
        GDI
          name=Meiryo UI  -->  font-name:Arial  actual-name:Arial
        DirectWrite
          name=Meiryo UI  --> font-name:Meiryo UI  actual-name:Segoe UI
      
      The GDI (e.g. PlatformFontWin) was the only one where the requested
      font was lost and were using the mapped font. Since that class is
      going away, the use of FontName and ActualFontName make sense.
      
      
      R=robliao@chromium.org, asvitkine@chromium.org
      
      Bug: 944227
      Change-Id: I7a351c35a13ef07799c783454f206d76851ce02f
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1733437
      Commit-Queue: Etienne Bergeron <etienneb@chromium.org>
      Commit-Queue: Alexei Svitkine <asvitkine@chromium.org>
      Reviewed-by: default avatarRobert Liao <robliao@chromium.org>
      Reviewed-by: default avatarAlexei Svitkine <asvitkine@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683643}
      145520c8
    • Daniel Cheng's avatar
      Update DocumentLoader::Url() to match Document::Url() on document.open() · ac728ccb
      Daniel Cheng authored
      Bug: 978579
      Change-Id: I382b9da1d8aec0199355374ed6930a730b7e4562
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1731788Reviewed-by: default avatarNate Chapin <japhet@chromium.org>
      Commit-Queue: Daniel Cheng <dcheng@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683642}
      ac728ccb
    • Xiaoqian Dai's avatar
      Introduce ScopedBoundsChangeAnimation to temporarily change animation type. · da082e7e
      Xiaoqian Dai authored
      Refactoring CL. No functional change.
      
      Bug: None
      Change-Id: I6e6027b5994e48d3ebafb7ec09062600763b0d28
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1726665Reviewed-by: default avatarMitsuru Oshima <oshima@chromium.org>
      Commit-Queue: Xiaoqian Dai <xdai@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683641}
      da082e7e
    • Rayan Kanso's avatar
      [Contacts] Add a use counter for ContactsManager. · 37260227
      Rayan Kanso authored
      Keep track of how often the Contacts API is used by measuring calls to
      navigator.contacts.select.
      
      Bug: 990364
      Change-Id: I10177d894d4e68be275fcf2fe7cf7c87ade0b311
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1731847
      Commit-Queue: Rayan Kanso <rayankans@chromium.org>
      Commit-Queue: Peter Beverloo <peter@chromium.org>
      Auto-Submit: Rayan Kanso <rayankans@chromium.org>
      Reviewed-by: default avatarPeter Beverloo <peter@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683640}
      37260227
    • Carlos Caballero's avatar
      Remove references of MessageLoopForIO in /net · 0b06641c
      Carlos Caballero authored
      MessageLoopForIO will go away soon use ScopedTaskEnvironment instead.
      
      ScopedTaskEnvironment will per default start a ThreadPool, which should
      be fine in most of the cases. If you believe your test needs to make sure
      that no ThreadPool runs let me know and I will update the patch.
      
      BUG=891670
      This CL was uploaded by git cl split.
      
      R=mmenke@chromium.org
      
      Change-Id: I2abffb81e28b6afcf29a9e0d96b1eff8163c130e
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1733494
      Auto-Submit: Carlos Caballero <carlscab@google.com>
      Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
      Commit-Queue: Matt Menke <mmenke@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683639}
      0b06641c
    • Carlos Caballero's avatar
      Remove references of MessageLoopForIO in /chrome/browser/ssl · 391400b7
      Carlos Caballero authored
      MessageLoopForIO will go away soon use ScopedTaskEnvironment instead.
      
      ScopedTaskEnvironment will per default start a ThreadPool, which should
      be fine in most of the cases. If you believe your test needs to make sure
      that no ThreadPool runs let me know and I will update the patch.
      
      BUG=891670
      This CL was uploaded by git cl split.
      
      R=carlosil@chromium.org
      
      Change-Id: I8a40cda13a2956cddde98da24717da74081f8457
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1733609
      Auto-Submit: Carlos Caballero <carlscab@google.com>
      Reviewed-by: default avatarCarlos IL <carlosil@chromium.org>
      Commit-Queue: Carlos IL <carlosil@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683638}
      391400b7
    • Brendan Hansknecht's avatar
      [FilesApp] Add a navigation list vertical scroll integration test · 8f29e309
      Brendan Hansknecht authored
      Add navigationListVerticalScroll test.
      Rename navigationScrollsWhenClipped to navigationListHorizontalScroll.
      Add TODO to cleanup navigationListHorizontalScroll.
      
      Test: browser_tests --gtest_filter="FilesApp*navigationList*Scroll"
      Bug: 966807
      Change-Id: Ia1a3eade2b9fbbe1341db2333ee4939dc13eb8a9
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1726871
      Commit-Queue: Brendan Hansknecht <bhansknecht@chromium.org>
      Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683637}
      8f29e309
    • Mugdha Lakhani's avatar
      [Background Sync] Show updated delay in Devtools. · 2d6f6f2a
      Mugdha Lakhani authored
      We sometimes change the actual delay after which a periodicsync event is fired
      based on other registrations for the origin. Update what we show in Devtools so
      it corresponds to the actual delay_until set on the registration.
      
      Bug: 989524, 990207
      Change-Id: Ie74b5cf1c4e48d58fb1b165aec54597cc018bc71
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1733487Reviewed-by: default avatarRayan Kanso <rayankans@chromium.org>
      Commit-Queue: Mugdha Lakhani <nator@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683636}
      2d6f6f2a
    • Matt Menke's avatar
      Remove BrokenAlternativeServices's dependency on HttpServerProperties. · 2890796e
      Matt Menke authored
      Previously, http_server_properties_impl.h included on
      broken_alternative_services.h which included http_server_properties.h.
      
      Since HttpServerPropertiesImpl is the only implementation of
      HttpServerProperties, I want to merge the two files, but that would
      result in a circular dependency due to the aforementioned dependency.
      
      This CL moves the alternative services-related members of
      http_server_properties.h into alternative_services.h, which
      broken_alternatives_services.h now depends on.
      
      Bug: 984996
      Change-Id: Ibb037219662ea0c3eab534c1bf9b7c0f3ef4c32c
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1724752
      Commit-Queue: Matt Menke <mmenke@chromium.org>
      Reviewed-by: default avatarZhongyi Shi <zhongyi@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683635}
      2890796e
    • Tim Volodine's avatar
      [AW] Remove non-network-service path code in android_webview/renderer · 4c285f86
      Tim Volodine authored
      Remove code that is not used anymore with the network service enabled.
      
      BUG=989104
      
      Change-Id: If77bd19df957e6cb34f165cdafbe87a5e72c1fda
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1731932Reviewed-by: default avatarRichard Coles <torne@chromium.org>
      Commit-Queue: Tim Volodine <timvolodine@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683634}
      4c285f86
    • Sky Malice's avatar
      Added missing expectation for blink-cors serviceworker/thorough tests. · cef7d788
      Sky Malice authored
      virtual/blink-cors/http/tests/fetch/serviceworker/thorough/redirect-loop-base-https-other-https.html
      virtual/blink-cors/http/tests/fetch/serviceworker/thorough/access-control-base-https-other-https.html
      
      TBR: zmin@chromium.org
      Bug: 990175, 990176, 989863
      Change-Id: I7a58b9d6efad18a0fc8c3fe66d1f5f39d341ad24
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1732155
      Commit-Queue: Sky Malice <skym@chromium.org>
      Reviewed-by: default avatarSky Malice <skym@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683633}
      cef7d788
    • Carlos Caballero's avatar
      Remove references of MessageLoopForIO in /chrome/browser/android/contextualsearch · 50e8ce13
      Carlos Caballero authored
      MessageLoopForIO will go away soon use ScopedTaskEnvironment instead.
      
      ScopedTaskEnvironment will per default start a ThreadPool, which should
      be fine in most of the cases. If you believe your test needs to make sure
      that no ThreadPool runs let me know and I will update the patch.
      
      BUG=891670
      This CL was uploaded by git cl split.
      
      R=donnd@chromium.org
      
      Change-Id: Iffa04b1db906d1a04a73529a01711aa782a11971
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1733597
      Auto-Submit: Carlos Caballero <carlscab@google.com>
      Reviewed-by: default avatarDonn Denman <donnd@chromium.org>
      Commit-Queue: Donn Denman <donnd@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683632}
      50e8ce13
    • Aya ElAttar's avatar
      [Locked Fullscreen] Fix the vox panel inconsistency with the fullscreen mode. · 8d9e0bcb
      Aya ElAttar authored
      
      Upon entering the fullscreen/locked-fullscreen while the chromeVox panel is working, You can see an empty bar in the top of the screen.
      1. The fullscreen rect y dimension starts after the height of the chromeVox panel, and as we don't want the chromeVox panel to be displayed, its height should be removed from the calculations.
      
      UPDATE: This issue got fixed by another colleague.
      So I added a unittest, and removed two workarounds were added to fix this issue in the locked-fullscreen mode.
      (one was to disable chromevox panel upon starting the lockedscreen mode, and the other was to hide the vox panel specifically for the locked fullscreen mode)
      
      When a window is set to fullscreen screen_util::GetFullscreenWindowBoundsInParent & AccessibilityPanelLayoutManager::UpdateWindowBounds() are called twice with this stacktraces order:
      
      [23272:23272:0723/164119.757770:ERROR:screen_util.cc(47)] ayaaa #0 0x0000081162bc base::debug::CollectStackTrace()
      #1 0x0000080a6c88 base::debug::StackTrace::StackTrace()
      #2 0x000009a8b57c ash::screen_util::GetFullscreenWindowBoundsInParent()
      #3 0x000009b93e62 ash::wm::DefaultState::UpdateBoundsFromState()
      #4 0x000009b93da4 ash::wm::DefaultState::EnterToNextState()
      #5 0x000009b93c2e ash::wm::DefaultState::HandleTransitionEvents()
      #6 0x000009b92e3e ash::wm::WindowState::OnWindowPropertyChanged()
      #7 0x000008d085f6 aura::Window::AfterPropertyChange()
      #8 0x0000082c62fc ui::PropertyHandler::SetPropertyInternal()
      #9 0x000008d0324c ui::PropertyHandler::SetProperty<>()
      #10 0x000009268956 views::Widget::SetFullscreen()
      #11 0x00000a088c28 BrowserView::ProcessFullscreen()
      #12 0x000009f48638 FullscreenController::EnterFullscreenModeInternal()
      #13 0x000009f47c98 FullscreenController::ToggleFullscreenModeInternal()
      #14 0x000009f47bba FullscreenController::ToggleBrowserFullscreenMode()
      #15 0x00000a0b45a8 (anonymous namespace)::BrowserWindowStateDelegate::ToggleFullscreen()
      #16 0x000009b93fc0 ash::wm::ToggleFullScreen()
      #17 0x000009b9177e ash::wm::WindowState::OnWMEvent()
      #18 0x000009a153ca ash::accelerators::ToggleFullscreen()
      #19 0x000009a13f72 ash::(anonymous namespace)::HandleToggleFullscreen()
      #20 0x000009a12332 ash::AcceleratorControllerImpl::AcceleratorPressed()
      #21 0x000009253988 ui::AcceleratorManager::Process()
      #22 0x000009ac225a ash::PreTargetAcceleratorHandler::ProcessAccelerator()
      ....
      #80 0x0000eae970a2 __libc_start_main
      
      [23272:23272:0723/164121.271202:ERROR:accessibility_panel_layout_manager.cc(103)] ayaaa #0 0x0000081162bc base::debug::CollectStackTrace()
      #1 0x0000080a6c88 base::debug::StackTrace::StackTrace()
      #2 0x000009a190fa ash::AccessibilityPanelLayoutManager::UpdateWindowBounds()
      #3 0x0000099ebd12 display::DisplayManager::NotifyMetricsChanged()
      #4 0x0000099ebf5a display::DisplayManager::UpdateWorkAreaOfDisplay()
      #5 0x000009a33610 ash::WindowTreeHostManager::UpdateWorkAreaOfDisplayNearestWindow()
      #6 0x000009a94ec6 ash::ShelfLayoutManager::UpdateBoundsAndOpacity()
      #7 0x000009a93680 ash::ShelfLayoutManager::SetState()
      #8 0x000009a932be ash::ShelfLayoutManager::UpdateVisibilityState()
      #9 0x000009b96428 ash::WorkspaceLayoutManager::SetChildBounds()
      #10 0x000009b8f6e4 ash::wm::SetBoundsInScreen()
      #11 0x000009276346 views::NativeWidgetAura::SetBounds()
      #12 0x000009225b72 views::BubbleDialogDelegateView::SizeToContents()
      #13 0x000009269980 views::Widget::OnNativeWidgetMove()
      #14 0x000009276cd4 views::NativeWidgetAura::OnBoundsChanged()
      #15 0x00000a0b4332 BrowserFrameAsh::OnBoundsChanged()
      #16 0x000008d0978c aura::Window::OnLayerBoundsChanged()
      #17 0x000008d19a6e ui::Layer::SetBoundsFromAnimation()
      #18 0x000008d0730c aura::Window::SetBoundsInternal()
      #19 0x000009b929a6 ash::wm::WindowState::SetBoundsDirect()
      #20 0x000009b93f0e ash::wm::DefaultState::UpdateBoundsFromState()
      #21 0x000009b93da4 ash::wm::DefaultState::EnterToNextState()
      #22 0x000009b93c2e ash::wm::DefaultState::HandleTransitionEvents()
      #23 0x000009b92e3e ash::wm::WindowState::OnWindowPropertyChanged()
      #24 0x000008d085f6 aura::Window::AfterPropertyChange()
      #25 0x0000082c62fc ui::PropertyHandler::SetPropertyInternal()
      #26 0x000008d0324c ui::PropertyHandler::SetProperty<>()
      #27 0x000009268956 views::Widget::SetFullscreen()
      #28 0x00000a088c28 BrowserView::ProcessFullscreen()
      #29 0x000009f48638 FullscreenController::EnterFullscreenModeInternal()
      #30 0x000009f47c98 FullscreenController::ToggleFullscreenModeInternal()
      #31 0x000009f47bba FullscreenController::ToggleBrowserFullscreenMode()
      #32 0x00000a0b45a8 (anonymous namespace)::BrowserWindowStateDelegate::ToggleFullscreen()
      #33 0x000009b93fc0 ash::wm::ToggleFullScreen()
      #34 0x000009b9177e ash::wm::WindowState::OnWMEvent()
      #35 0x000009a153ca ash::accelerators::ToggleFullscreen()
      #36 0x000009a13f72 ash::(anonymous namespace)::HandleToggleFullscreen()
      #37 0x000009a12332 ash::AcceleratorControllerImpl::AcceleratorPressed()
      #38 0x000009253988 ui::AcceleratorManager::Process()
      #39 0x000009ac225a ash::PreTargetAcceleratorHandler::ProcessAccelerator()
      #40 0x000009ab4ebe wm::AcceleratorFilter::OnKeyEvent()
      ....
      #97 0x0000eae970a2 __libc_start_main
      
      [23272:23272:0723/164123.029099:ERROR:screen_util.cc(47)] ayaaa #0 0x0000081162bc base::debug::CollectStackTrace()
      #1 0x0000080a6c88 base::debug::StackTrace::StackTrace()
      #2 0x000009a8b57c ash::screen_util::GetFullscreenWindowBoundsInParent()
      #3 0x000009b93764 ash::wm::DefaultState::SetMaximizedOrFullscreenBounds()
      #4 0x000009b9367a ash::wm::DefaultState::HandleWorkspaceEvents()
      #5 0x000009b5ac5e ash::wm::BaseState::OnWMEvent()
      #6 0x000009b9177e ash::wm::WindowState::OnWMEvent()
      #7 0x000009b968e6 ash::WorkspaceLayoutManager::AdjustAllWindowsBoundsForWorkAreaChange()
      #8 0x000009b96af8 ash::WorkspaceLayoutManager::OnDisplayMetricsChanged()
      #9 0x0000099ebd12 display::DisplayManager::NotifyMetricsChanged()
      #10 0x0000099ebf5a display::DisplayManager::UpdateWorkAreaOfDisplay()
      #11 0x000009a33610 ash::WindowTreeHostManager::UpdateWorkAreaOfDisplayNearestWindow()
      #12 0x000009a94ec6 ash::ShelfLayoutManager::UpdateBoundsAndOpacity()
      #13 0x000009a93680 ash::ShelfLayoutManager::SetState()
      #14 0x000009a932be ash::ShelfLayoutManager::UpdateVisibilityState()
      #15 0x000009b96428 ash::WorkspaceLayoutManager::SetChildBounds()
      #16 0x000009b8f6e4 ash::wm::SetBoundsInScreen()
      #17 0x000009276346 views::NativeWidgetAura::SetBounds()
      #18 0x000009225b72 views::BubbleDialogDelegateView::SizeToContents()
      #19 0x000009269980 views::Widget::OnNativeWidgetMove()
      #20 0x000009276cd4 views::NativeWidgetAura::OnBoundsChanged()
      #21 0x00000a0b4332 BrowserFrameAsh::OnBoundsChanged()
      #22 0x000008d0978c aura::Window::OnLayerBoundsChanged()
      #23 0x000008d19a6e ui::Layer::SetBoundsFromAnimation()
      #24 0x000008d0730c aura::Window::SetBoundsInternal()
      #25 0x000009b929a6 ash::wm::WindowState::SetBoundsDirect()
      #26 0x000009b93f0e ash::wm::DefaultState::UpdateBoundsFromState()
      #27 0x000009b93da4 ash::wm::DefaultState::EnterToNextState()
      #28 0x000009b93c2e ash::wm::DefaultState::HandleTransitionEvents()
      #29 0x000009b92e3e ash::wm::WindowState::OnWindowPropertyChanged()
      #30 0x000008d085f6 aura::Window::AfterPropertyChange()
      #31 0x0000082c62fc ui::PropertyHandler::SetPropertyInternal()
      #32 0x000008d0324c ui::PropertyHandler::SetProperty<>()
      #33 0x000009268956 views::Widget::SetFullscreen()
      #34 0x00000a088c28 BrowserView::ProcessFullscreen()
      #35 0x000009f48638 FullscreenController::EnterFullscreenModeInternal()
      #36 0x000009f47c98 FullscreenController::ToggleFullscreenModeInternal()
      #37 0x000009f47bba FullscreenController::ToggleBrowserFullscreenMode()
      #38 0x00000a0b45a8 (anonymous namespace)::BrowserWindowStateDelegate::ToggleFullscreen()
      #39 0x000009b93fc0 ash::wm::ToggleFullScreen()
      #40 0x000009b9177e ash::wm::WindowState::OnWMEvent()
      #41 0x000009a153ca ash::accelerators::ToggleFullscreen()
      #42 0x000009a13f72 ash::(anonymous namespace)::HandleToggleFullscreen()
      #43 0x000009a12332 ash::AcceleratorControllerImpl::AcceleratorPressed()
      #44 0x000009253988 ui::AcceleratorManager::Process()
      #45 0x000009ac225a ash::PreTargetAcceleratorHandler::ProcessAccelerator()
      #46 0x000009ab4ebe wm::AcceleratorFilter::OnKeyEvent()
      ....
      #103 0x0000eae970a2 __libc_start_main
      
      [23272:23272:0723/164124.932334:ERROR:accessibility_panel_layout_manager.cc(103)] ayaaa #0 0x0000081162bc base::debug::CollectStackTrace()
      #1 0x0000080a6c88 base::debug::StackTrace::StackTrace()
      #2 0x000009a190fa ash::AccessibilityPanelLayoutManager::UpdateWindowBounds()
      #3 0x000009ab0dea ash::Shell::NotifyFullscreenStateChanged()
      #4 0x000009b96a4c ash::WorkspaceLayoutManager::OnPostWindowStateTypeChange()
      #5 0x000009b92738 ash::wm::WindowState::NotifyPostStateTypeChange()
      #6 0x000009b93ddc ash::wm::DefaultState::EnterToNextState()
      #7 0x000009b93c2e ash::wm::DefaultState::HandleTransitionEvents()
      #8 0x000009b92e3e ash::wm::WindowState::OnWindowPropertyChanged()
      #9 0x000008d085f6 aura::Window::AfterPropertyChange()
      #10 0x0000082c62fc ui::PropertyHandler::SetPropertyInternal()
      #11 0x000008d0324c ui::PropertyHandler::SetProperty<>()
      #12 0x000009268956 views::Widget::SetFullscreen()
      #13 0x00000a088c28 BrowserView::ProcessFullscreen()
      #14 0x000009f48638 FullscreenController::EnterFullscreenModeInternal()
      #15 0x000009f47c98 FullscreenController::ToggleFullscreenModeInternal()
      #16 0x000009f47bba FullscreenController::ToggleBrowserFullscreenMode()
      #17 0x00000a0b45a8 (anonymous namespace)::BrowserWindowStateDelegate::ToggleFullscreen()
      #18 0x000009b93fc0 ash::wm::ToggleFullScreen()
      #19 0x000009b9177e ash::wm::WindowState::OnWMEvent()
      #20 0x000009a153ca ash::accelerators::ToggleFullscreen()
      #21 0x000009a13f72 ash::(anonymous namespace)::HandleToggleFullscreen()
      #22 0x000009a12332 ash::AcceleratorControllerImpl::AcceleratorPressed()
      #23 0x000009253988 ui::AcceleratorManager::Process()
      #24 0x000009ac225a ash::PreTargetAcceleratorHandler::ProcessAccelerator()
      #25 0x000009ab4ebe wm::AcceleratorFilter::OnKeyEvent()
      ...
      #82 0x0000eae970a2 __libc_start_main
      
      Bug: 945794,959786
      Change-Id: If04f70f2c71563e9660c18ca942ef4b798ebcd3a
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1702312
      Commit-Queue: Aya Elsayed <ayaelattar@google.com>
      Reviewed-by: default avatarMitsuru Oshima <oshima@chromium.org>
      Reviewed-by: default avatarAga Wronska <agawronska@chromium.org>
      Reviewed-by: default avatarIvan Šandrk <isandrk@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683631}
      8d9e0bcb
    • Matt Simmons's avatar
      Remove dead code in NewTabPageLayout · 9b6a00d3
      Matt Simmons authored
      R=yusufo@chromium.org
      
      Change-Id: I2835007aa3449fcecd258a0ada14a00b5e1ec0ac
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1730503Reviewed-by: default avatarTheresa  <twellington@chromium.org>
      Reviewed-by: default avatarYusuf Ozuysal <yusufo@chromium.org>
      Commit-Queue: Matt Simmons <mattsimmons@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683630}
      9b6a00d3
    • chromium-autoroll's avatar
      Roll src/third_party/skia 06eacf44d50f..01915c0dd073 (6 commits) · e14acb3f
      chromium-autoroll authored
      https://skia.googlesource.com/skia.git/+log/06eacf44d50f..01915c0dd073
      
      git log 06eacf44d50f..01915c0dd073 --date=short --no-merges --format='%ad %ae %s'
      2019-08-02 bsalomon@google.com GrCaps::supportedWritePixelsColorType takes CT/format rather than config.
      2019-08-02 michaelludwig@google.com Update skottie/sksg to use new filter factories
      2019-08-02 michaelludwig@google.com Update docs and samplecode to use new image filter factories
      2019-08-02 michaelludwig@google.com Update fuzzer to use new image filter factories
      2019-08-02 bungeman@google.com Tweak css3 weight score, prevent ties.
      2019-08-02 senorblanco@chromium.org First implementation of GrDawnProgramBuilder.
      
      Created with:
        gclient setdep -r src/third_party/skia@01915c0dd073
      
      The AutoRoll server is located here: https://autoroll.skia.org/r/skia-autoroll
      
      Documentation for the AutoRoller is here:
      https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
      
      If the roll is causing failures, please contact the current sheriff, who should
      be CC'd on the roll, and stop the roller if necessary.
      
      
      CQ_INCLUDE_TRYBOTS=luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux-blink-rel;luci.chromium.try:linux-chromeos-compile-dbg;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
      TBR=benjaminwagner@google.com
      
      Bug: None
      Change-Id: I9973214a99d06d800f0130c681a1ea5c24f3dfd9
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1733467Reviewed-by: default avatarchromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
      Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
      Cr-Commit-Position: refs/heads/master@{#683629}
      e14acb3f
    • Lei Zhang's avatar
      Change CreateAndOpenFdForTemporaryFileInDir() to return a ScopedFD. · d22c9731
      Lei Zhang authored
      Convert all callers to work with the returned ScopedFD appropriately.
      
      Bug: 814832
      Change-Id: Id8e87d70aba6374891652f4b61cb4864e0066dcc
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1728309Reviewed-by: default avatarWez <wez@chromium.org>
      Reviewed-by: default avatarSam McNally <sammc@chromium.org>
      Commit-Queue: Lei Zhang <thestig@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683628}
      d22c9731
    • Matt Menke's avatar
      HttpServerPropertiesImpl: Refactor test-only methods. · fa16902c
      Matt Menke authored
      With https://chromium-review.googlesource.com/c/chromium/src/+/1710779,
      a number of methods in HttpServerPropertiesImpl are only used by
      HttpServerPropertiesImpl itself when loading prefs and tests. This CL
      makes these methods private, with public ForTesting methods for tests
      to call them. It also renames them, making it clear that they're for
      dealing with loading data, and not general purpose setters.
      
      This CL also renames spdy_servers_map() and GetCanonicalSuffix, which
      are only used by tests, removes broken_alternative_service_list() and
      recently_broken_alternative_services(), which are not used, removes
      GetFlattenedSpdyServer(), which is not actually defined, and reorders
      methods defined in http_server_properties_impl.cc, which did not match
      the order of the header file.
      
      This is done in preparation to merge HttpServerPropertiesImpl with
      HttpServerProperties.
      
      Bug: 984996
      Change-Id: I1122ea2d2576696877634d3a4e9485edfa72847f
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1724497
      Commit-Queue: Matt Menke <mmenke@chromium.org>
      Reviewed-by: default avatarZhongyi Shi <zhongyi@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683627}
      fa16902c
    • Nicolò Mazzucato's avatar
      Add macro and logic to emit log messages into traces · 6c278d9b
      Nicolò Mazzucato authored
      Thanks to this CL the logs from chrome will be put inside
      a trace, so that they can later be shown in the perfetto UI.
      
      Bug: 983534
      Change-Id: I66a3c2b54fd8bd2b5960bd042cb0e90ada6377f9
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1698365
      Commit-Queue: Nicolò Mazzucato <nicomazz@google.com>
      Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
      Reviewed-by: default avataroysteine <oysteine@chromium.org>
      Reviewed-by: default avatarSami Kyöstilä <skyostil@chromium.org>
      Reviewed-by: default avatarEric Seckler <eseckler@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683626}
      6c278d9b
    • Vlad Tsyrklevich's avatar
      Create separate gwp_asan_unittests target · 207f3275
      Vlad Tsyrklevich authored
      The GWP-ASan unit tests need to use multi-process tests to tests
      crashing processes and modifying global state. On Android (before Q)
      running multi-process tests requires not running on the main thread, but
      whether tests do/don't run on the main thread is a global property of
      the entire unit test suite and setting the entirety of
      components_unittests to not run on the main thread causes a multitude of
      failures.
      
      Instead, create a gwp_asan_unittests test suite just for the GWP-ASan
      tests, run it everywhere components_unittests used to run, and set it to
      launch tests off of the main thread.
      
      Bug: 973167
      Change-Id: I40aa9ca99ee32580a570ceda9b282eed05705eaa
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1730770
      Commit-Queue: Vlad Tsyrklevich <vtsyrklevich@chromium.org>
      Commit-Queue: Vitaly Buka <vitalybuka@chromium.org>
      Reviewed-by: default avatarVitaly Buka <vitalybuka@chromium.org>
      Reviewed-by: default avatarJohn Budorick <jbudorick@chromium.org>
      Auto-Submit: Vlad Tsyrklevich <vtsyrklevich@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683625}
      207f3275
    • Benjamin Beaudry's avatar
      Performance improvement of AXPosition::Initialize(0) · 0f1d4098
      Benjamin Beaudry authored
      Simple change that improves AXPosition::Initialize(0) performance.
      It's useless to call MaxTextOffset inside of AXPosition::Initialize
      when text_offset = 0, since MaxTextOffset will always be >= 0. We have
      seen hangs in AT's calling into UIA API's that end up creating many
      AXPosition's that start at 0 that this change mitigates.
      
      An A/B test shows us the improvement:
      before the change, get_DocumentRange would take 1,033 ms to execute and
      there would be 154 calls to MaxTextOffset. After the change,
      get_DocumentRange only takes 59 ms and MaxTextOffset is called 15 times.
      
      A/B test reproduction: on Windows, open an HTML file with a lot of text.
      In Inspect, select the root of the document and click Actions > Text
      Pattern Explorer. Execution should take around a minute to complete.
      Record the trace using WPR and analyze it in WPA.
      
      Bug: 928948
      Change-Id: Ibbd5e929b9d7ba3a9d6342c7e7fd4550f945b16e
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1729246
      Commit-Queue: Nektarios Paisios <nektar@chromium.org>
      Reviewed-by: default avatarNektarios Paisios <nektar@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683624}
      0f1d4098
    • Matt Menke's avatar
      Flip relationship between HttpServerPropertiesImpl and *Manager. · e7f2a90b
      Matt Menke authored
      The Manager manages writing data to/reading data from prefs, while the
      HttpServerPropertiesImpl manages the in-memory cache. Previously, the
      Manager wrapped the Impl, with both implementing the
      HttpServerProperties interface.
      
      This CL flips the relationship, with the Impl owning and calling into
      the Manager, which no longer implements the 33-member
      HttpServerProperties interface. Instead, it just exposes a method to
      write to prefs, and a callback it invokes once prefs are loaded.
      
      This simplifies things a fair bit, and should make future changes to
      this code a fair bit simpler.
      
      This CL leaves in a number of warts from the old implementation, in
      an attempt to be easier to review.
      
      TBR=rohitrao@chromium.org
      
      Bug: 984996
      Change-Id: I282b3a1f2de87f189d7d59fc2bd913131f61c55e
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1710779
      Commit-Queue: Matt Menke <mmenke@chromium.org>
      Reviewed-by: default avatarZhongyi Shi <zhongyi@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683623}
      e7f2a90b
    • Gauthier Ambard's avatar
      [iOS] Cleanup CRWTouchTrackingRecognizer delegates name · 1cb37a37
      Gauthier Ambard authored
      This CL changes the names of the touch tracking recognizers delegates
      name. The gesture recognizer has two delegates:
       1. The UIGestureRecognizerDelegate (self.delegate)
       2. The CRWTouchTrackingDelegate (self.touchTrackingDelegate)
      Prior to this CL, 1. was called using self.delegate and 2. was called
      using _delegate. This was very confusing as the reader could expect
      _delegate to be the ivar associated with self.delegate, not with
      self.touchTrackingDelegate.
      
      This CL cleans this by changing _delegate into _touchTrackingDelegate.
      
      Bug: none
      Change-Id: I24331d455f8cea61c117ea698e06f26fbc13ca6d
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1732083
      Auto-Submit: Gauthier Ambard <gambard@chromium.org>
      Commit-Queue: Eugene But <eugenebut@chromium.org>
      Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683622}
      1cb37a37
    • James Cook's avatar
      chromeos: Update string for settings language order · 72d656f1
      James Cook authored
      UX wants "Add languages or reorder list".
      
      http://screen/Aup5LgOdpCe
      
      Bug: 982299
      Change-Id: I16bc6b1770fd402253d75753be6838a6c1f4b94d
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1731177Reviewed-by: default avatarKen Rockot <rockot@google.com>
      Commit-Queue: James Cook <jamescook@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683621}
      72d656f1
    • Robert Sesek's avatar
      Fix fuzzer-found null deref in ChannelMac::SendMessageLocked() · a8b07f76
      Robert Sesek authored
      If the fuzzer creates a 0-sized null Channel::Message, accessing
      num_handles() goes through the message header, which won't exist. Switch
      to using the TakeHandles() vector instead.
      
      This is a somewhat artificial bug, but it is easy to fix.
      
      Bug: 978709
      Change-Id: I7995fb9f809d0d623bece0ef238323a30ec90518
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1732009Reviewed-by: default avatarKen Rockot <rockot@google.com>
      Commit-Queue: Robert Sesek <rsesek@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683620}
      a8b07f76
    • chromium-autoroll's avatar
      Roll src/third_party/angle 017c9d8ea78b..825233007c7d (1 commits) · 86441704
      chromium-autoroll authored
      https://chromium.googlesource.com/angle/angle.git/+log/017c9d8ea78b..825233007c7d
      
      git log 017c9d8ea78b..825233007c7d --date=short --no-merges --format='%ad %ae %s'
      2019-08-02 lujc@google.com Vulkan: Recycle VkFence in checkCommandsCompleted
      
      Created with:
        gclient setdep -r src/third_party/angle@825233007c7d
      
      The AutoRoll server is located here: https://autoroll.skia.org/r/angle-chromium-autoroll
      
      Documentation for the AutoRoller is here:
      https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
      
      If the roll is causing failures, please contact the current sheriff, who should
      be CC'd on the roll, and stop the roller if necessary.
      
      
      CQ_INCLUDE_TRYBOTS=luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
      TBR=geofflang@google.com
      
      Bug: None
      Change-Id: I54ba5dcb92214c050ad3ff0b2cbdd1e1be2f6e7a
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1733451Reviewed-by: default avatarchromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
      Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
      Cr-Commit-Position: refs/heads/master@{#683619}
      86441704
    • Carlos Caballero's avatar
      Remove dead code · 877c90cb
      Carlos Caballero authored
      Remove dead code in preparation for a refactor that will get rid of
      MessageLoopForIO
      
      Bug: 891670
      Change-Id: I03b063dd2bb29fd32f986caefbf614f00ada3c30
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1733489Reviewed-by: default avatarAsanka Herath <asanka@chromium.org>
      Commit-Queue: Carlos Caballero <carlscab@google.com>
      Cr-Commit-Position: refs/heads/master@{#683618}
      877c90cb
    • Thomas Tangl's avatar
      Add Profile.UserAction.PerProfile · b7c9a539
      Thomas Tangl authored
      User actions are tracked and recorded per profile.
      
      Bug: 965469
      Change-Id: I41fc7f4df88b015a01f7ac6982a67da70eb08a31
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1730059
      Commit-Queue: Thomas Tangl <tangltom@chromium.org>
      Reviewed-by: default avatarMarc Treib <treib@chromium.org>
      Reviewed-by: default avatarRobert Kaplow <rkaplow@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683617}
      b7c9a539
    • Morten Stenshorne's avatar
      [LayoutNG] Clean up block fragmentation legacy write-back code. · cdea884b
      Morten Stenshorne authored
      Simplify the code that stitches fragments together in the legacy flow
      thread. This should be a good thing on its own, but the main motivation
      behind this is to get rid of finished break tokens (which this code
      relied on in obscure ways).
      
      Change-Id: I135f0c9089fcbb79ec31cc10d029b416c1433692
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1731947Reviewed-by: default avatarIan Kilpatrick <ikilpatrick@chromium.org>
      Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683616}
      cdea884b
    • Anatoliy Potapchuk's avatar
      Fix hostname validating regex for one letter subdomains · 75f9a7e2
      Anatoliy Potapchuk authored
      Bug: 981200
      Change-Id: I910ba2d30e92c6a3605fb3bac98618d0491a5859
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1730903Reviewed-by: default avatarLutz Justen <ljusten@chromium.org>
      Reviewed-by: default avatarPavol Marko <pmarko@chromium.org>
      Commit-Queue: Pavol Marko <pmarko@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683615}
      75f9a7e2
    • Piotr Pawliczek's avatar
      Life time of BulkPrintersCalculator objects · 5e7f46ab
      Piotr Pawliczek authored
      Instances of BulkPrintersCalculator class dispensed by
      BulkPrintersCalculatorFactory cause random crashes in test environment.
      Sometimes, BulkPrintersCalculatorFactory is not cleared and it may hold
      pointers to BulkPrintersCalculator created in previous tests. These
      objects are used by two different modules (policies and printing) and
      there is no simple rule when they should be deleted, because in many
      tests different parts of the real chrome environment are available.
      I have decided to bind their lifetime to objects responsible for
      handling external policies.
      
      BUG=chromium:966561
      TEST=on my workstation
      
      Change-Id: I894e67ab9c1fe61da2ab67832d6e6d65d157719e
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1722196
      Commit-Queue: James Cook <jamescook@chromium.org>
      Reviewed-by: default avatarMaksim Ivanov <emaxx@chromium.org>
      Reviewed-by: default avatarSean Kau <skau@chromium.org>
      Reviewed-by: default avatarJames Cook <jamescook@chromium.org>
      Auto-Submit: Piotr Pawliczek <pawliczek@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683614}
      5e7f46ab