Convert Java anonymous classes to Java 8 lambdas (CL#1)

Desktop / Chromium - Felix [chromium.org] - 9 August 2017 10:46 EDT

This CL converts some Java anonymous classes to Java 8 lambdas.

Bug: 720360 Change-Id: I61cd857d7823857df882ec1c2c07592e3e3b2f72 Reviewed-on: https://chromium-review.googlesource.com/607307

94e3b77 Convert Java anonymous classes to Java 8 lambdas (CL#1)
.../browser/download/ChromeDownloadDelegate.java | 12 +-
.../browser/download/DownloadController.java | 28 +---
.../browser/download/DownloadManagerService.java | 26 +---
.../chrome/browser/download/DownloadPage.java | 11 +-
.../browser/download/DownloadSheetContent.java | 12 +-
.../browser/download/OMADownloadHandler.java | 45 +++---
.../download/ChromeDownloadDelegateTest.java | 11 +-
.../browser/download/DownloadActivityTest.java | 165 +++++----------------
.../download/DownloadManagerServiceTest.java | 37 ++---
.../download/DownloadNotificationServiceTest.java | 71 ++-------
.../chrome/browser/download/DownloadTest.java | 27 +---
.../chrome/browser/download/DownloadTestRule.java | 24 ++-
.../download/MockDownloadNotificationService.java | 39 ++---
.../download/SystemDownloadNotifierTest.java | 27 ++--
14 files changed, 148 insertions(+), 387 deletions(-)

Upstream: git.chromium.org


  • Share