Reland "Add reroute_info into download in-progress db."
This reverts commit 98245f2e42d03f108c61fa1483f19065f2ffc3b3.
Reason for revert: deps on download_shelf mojom bindings
Original change's description:
> Revert "Add reroute_info into download in-progress db."
>
> This reverts commit bd9851d3b929544f5e4dd91265ccad5ce203fad7.
>
> Reason for revert:
>
> Findit (https://goo.gl/kROfz5) identified CL at revision 908141 as the
> culprit for failures in the build cycles as shown on:
> https://analysis.chromium.org/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3ItbWVyRAsSDVdmU3VzcGVjdGVkQ0wiMWNocm9taXVtL2JkOTg1MWQzYjkyOTU0NGY1ZTRkZDkxMjY1Y2NhZDVjZTIwM2ZhZDcM
>
> Sample Failed Build: https://ci.chromium.org/b/8839877754479126288
>
> Sample Failed Step: compile
>
> Original change's description:
> > Add reroute_info into download in-progress db.
> >
> > + New field reroute_info in in_progress_info.h
> > ~ In download_db_cache.cc: Update ShouldUpdateHistory() to check for reroute_info diff.
> > ~ In download_utils.cc: Update CreateDownloadDBEntryFromItem() to take reroute_info into InProgressInfo.
> >
> > Bug: 1203753
> > Change-Id: I907614e03e39b8d2c10b35c6a83619eec57cc422
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3056776
> > Reviewed-by: Owen Min <[email protected]>
> > Reviewed-by: Avi Drissman <[email protected]>
> > Reviewed-by: Min Qin <[email protected]>
> > Commit-Queue: Avi Drissman <[email protected]>
> > Auto-Submit: Alice Gong <[email protected]>
> > Cr-Commit-Position: refs/heads/master@{#908141}
>
>
> Change-Id: I6c78c3587460ad5eb29f83afab1ba6b22f600a8a
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: 1203753
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3069729
> Owners-Override: Jit Yao Yap <[email protected]>
> Reviewed-by: Jit Yao Yap <[email protected]>
> Commit-Queue: Jit Yao Yap <[email protected]>
> Cr-Commit-Position: refs/heads/master@{#908368}
Bug: 1203753
Change-Id: I2b34d57a0da840843a862ca5f7d75dcfa9a3b5f9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3067770
Reviewed-by: Min Qin <[email protected]>
Reviewed-by: Owen Min <[email protected]>
Reviewed-by: Avi Drissman <[email protected]>
Commit-Queue: Alice Gong <[email protected]>
Commit-Queue: Avi Drissman <[email protected]>
Auto-Submit: Alice Gong <[email protected]>
Cr-Commit-Position: refs/heads/master@{#908550}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index ac1a06d6..9a81a1c 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -1870,7 +1870,7 @@
"//chrome/services/file_util/public/mojom",
"//components/account_id",
"//components/autofill/core/browser",
- "//components/enterprise/common/proto:download_item_reroute_info_proto",
+ "//components/enterprise/common:download_item_reroute_info",
"//components/nacl/common:buildflags",
"//components/optimization_guide:machine_learning_tflite_buildflags",
"//components/page_info",