[Extensions] Rename RuntimeBlockedHosts to PolicyBlockedHosts

Enterprise policy allows for blocking extension access to a set of
hosts (defined by URLPatterns). In the code, these are referred to
frequently as RuntimeBlockedHosts; however, this is confusing with
the RuntimeHostPermissions feature. Instead, name the enterprise
policy-restricted hosts PolicyBlockedHosts to avoid ambiguity.

Leave the string entry in the policy the same for backwards
compatibility.

Bug: None

Change-Id: Icfa455e2912e3c05da58f0a0b0b8e53395d4e103
Reviewed-on: https://chromium-review.googlesource.com/1060526
Commit-Queue: Devlin <[email protected]>
Reviewed-by: Karan Bhatia <[email protected]>
Cr-Commit-Position: refs/heads/master@{#559160}
diff --git a/chrome/browser/extensions/permissions_updater.cc b/chrome/browser/extensions/permissions_updater.cc
index 42705ea..6eaf151b9 100644
--- a/chrome/browser/extensions/permissions_updater.cc
+++ b/chrome/browser/extensions/permissions_updater.cc
@@ -256,10 +256,10 @@
     // Apply per-extension policy if set.
     ExtensionManagement* management =
         ExtensionManagementFactory::GetForBrowserContext(browser_context_);
-    if (!management->UsesDefaultRuntimeHostRestrictions(extension)) {
+    if (!management->UsesDefaultPolicyHostRestrictions(extension)) {
       SetPolicyHostRestrictions(extension,
-                                management->GetRuntimeBlockedHosts(extension),
-                                management->GetRuntimeAllowedHosts(extension));
+                                management->GetPolicyBlockedHosts(extension),
+                                management->GetPolicyAllowedHosts(extension));
     }
   }