Relanding: Log MobileDownloadFileUIInstallGoogleDrive in New Download Manager.

Original description:
This CL also changes InstallationNotifier class to be compatible
with OCMock (UIApplication shared instance is not stored in ivar anymore)
and adds resetDispatcher method to allow restoring InstallationNotifier
to its default state.

Change in "Fix" patch:
Wrapped coordinator's stop calls into autorelease pools. Coordinator's
dealloc calls API which uses thread checker. So thread bundle has to outlive
coordinator.

Bug: 791806
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: I59b6aba677934c6abb43da36a9f94e00c4ca361b
Reviewed-on: https://chromium-review.googlesource.com/966969
Commit-Queue: Eugene But <[email protected]>
Reviewed-by: Peter Lee <[email protected]>
Cr-Commit-Position: refs/heads/master@{#544161}
diff --git a/ios/chrome/browser/BUILD.gn b/ios/chrome/browser/BUILD.gn
index 2f3e35a..ccd4fc9 100644
--- a/ios/chrome/browser/BUILD.gn
+++ b/ios/chrome/browser/BUILD.gn
@@ -248,6 +248,7 @@
     "//net",
     "//net:test_support",
     "//testing/gtest",
+    "//third_party/ocmock",
     "//url",
   ]
 }