1. 17 Apr, 2018 36 commits
  2. 16 Apr, 2018 4 commits
    • Kush Sinha's avatar
      Add Chrome OS AccountManagerFactory · 74c38a06
      Kush Sinha authored
      Add a caching factory for Chrome OS |AccountManager|. Cache is keyed on
      the basis of Profile path (|Profile::GetPath|).
      
      AccountManager cannot be simply a part of |g_browser_process| because of
      Chrome OS Multi Sign In. Accounts participating in Multi Sign In should
      see separate instances of |AccountManager|.
      Once Multi Sign In has been replaced by Multi Profile,
      |AccountManagerFactory| can be removed and |AccountManager| can be made
      a part of |g_browser_process|.
      
      Bug: 820046
      Change-Id: I8c2f2b2b5d8d61c5a818ab711197840bd605567b
      Reviewed-on: https://chromium-review.googlesource.com/1010542Reviewed-by: default avatarNico Weber <thakis@chromium.org>
      Reviewed-by: default avatarLutz Justen <ljusten@chromium.org>
      Commit-Queue: Kush Sinha <sinhak@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#551176}
      74c38a06
    • Avi Drissman's avatar
      Remove the static initializer from message_pump_mac.mm. · 909d320d
      Avi Drissman authored
      Static initializers are not allowed.
      
      BUG=831951
      
      Change-Id: I1c1d41ea66a34d38119c639c2af48183b9d1ab64
      Reviewed-on: https://chromium-review.googlesource.com/1012870
      Commit-Queue: Avi Drissman <avi@chromium.org>
      Reviewed-by: default avatarNico Weber <thakis@chromium.org>
      Reviewed-by: default avatarDirk Pranke <dpranke@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#551175}
      909d320d
    • Antonio Gomes's avatar
      Migrate backdrop_wallpaper_handlers::CollectionInfoFetcher to SimpleURLLoader · 4f71dade
      Antonio Gomes authored
      BUG=773295
      TEST=
        1. <out_chromeos>/chrome --user-data-dir=<profile> --new-wallpaper-picker
        2. settings -> select wallpaper
        3. selection is functional.
      
      
      Change-Id: Ia8cab4086550b723ce904705db26c5f171277dbf
      Reviewed-on: https://chromium-review.googlesource.com/1014222Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
      Commit-Queue: Antonio Gomes <tonikitoo@igalia.com>
      Cr-Commit-Position: refs/heads/master@{#551174}
      4f71dade
    • Nate Fischer's avatar
      AW: deflake Safe Browsing tests · 1d1cc79a
      Nate Fischer authored
      No change to production logic.
      
      This aims to deflake
      SafeBrowsingTest#testSafeBrowsingDontProceedNavigatesBackFor*.
      
      These tests previously depended on the interstitial to change the page
      title to the string "Security error." This is unreliable, however, as
      chromium translates this for non-English locales.
      
      This CL removes the dependency on page title, and asserts that the
      previous page is visible after clicking "back to safety."
      
      I couldn't locally reproduce test failures except by changing device
      locale, but I expect this method to be more robust than relying on page
      title. As mentioned below, I tested this ~200 times without failure, so
      I don't expect many flakes.
      
      This also removes the @FlakyTest annotation previously added.
      
      Bug: 822753
      Test: run_webview_instrumentation_test_apk -f SafeBrowsingTest#testSafeBrowsingDontProceedNavigatesBackFor*
      Change-Id: I91ded411514302c2c34fdb8e06f7694f58f7e526
      Reviewed-on: https://chromium-review.googlesource.com/1013686Reviewed-by: default avatarBo <boliu@chromium.org>
      Commit-Queue: Nate Fischer <ntfschr@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#551173}
      1d1cc79a