Replace all uses of Manifest::Location enum with Mojo type (5/5)

As a pre-work to convert ExtensionMsg_Loaded to Mojo, this CL
replaces uses of Manifest::Location enum type with
extensions::mojom::ManifestLocationType progressly because it's
a huge work to convert them at once.

As the last step, this CL converts all remaining uses of
Manifest::Location native enum type to the Mojom enum.

AX-Relnotes: n/a

Bug: 1146100
Change-Id: Ibc4fda044ae5ab90365235e721a08a174bedd6a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2771320
Commit-Queue: Gyuyoung Kim <[email protected]>
Reviewed-by: David Roger <[email protected]>
Reviewed-by: James Cook <[email protected]>
Reviewed-by: Dave Tapuska <[email protected]>
Reviewed-by: Reilly Grant <[email protected]>
Cr-Commit-Position: refs/heads/master@{#864894}
diff --git a/chrome/browser/extensions/extension_service_sync_unittest.cc b/chrome/browser/extensions/extension_service_sync_unittest.cc
index 57f0739..bff5a5a 100644
--- a/chrome/browser/extensions/extension_service_sync_unittest.cc
+++ b/chrome/browser/extensions/extension_service_sync_unittest.cc
@@ -879,8 +879,8 @@
 
 TEST_F(ExtensionServiceSyncTest, SyncForUninstalledExternalExtension) {
   InitializeEmptyExtensionService();
-  InstallCRX(data_dir().AppendASCII("good.crx"), Manifest::EXTERNAL_PREF,
-             INSTALL_NEW, Extension::NO_FLAGS);
+  InstallCRX(data_dir().AppendASCII("good.crx"),
+             ManifestLocation::kExternalPref, INSTALL_NEW, Extension::NO_FLAGS);
   const Extension* extension = registry()->GetInstalledExtension(good_crx);
   ASSERT_TRUE(extension);