Update to Chromium version 68.0.3440.0 (#561733)

This commit is contained in:
Marshall Greenblatt
2018-06-01 15:16:26 -04:00
parent 21310e4374
commit f6f2c9a0ca
51 changed files with 337 additions and 375 deletions

View File

@ -157,10 +157,10 @@ index 484e07af5a98..0e62e20095c7 100644
// If we broke out of the loop, we have found an enabled plugin.
bool enabled = i < matching_plugins.size();
diff --git chrome/renderer/chrome_content_renderer_client.cc chrome/renderer/chrome_content_renderer_client.cc
index dac5ee569f80..4d32c6d2d9c5 100644
index 64a3c7982c9f..a336bbd7f98b 100644
--- chrome/renderer/chrome_content_renderer_client.cc
+++ chrome/renderer/chrome_content_renderer_client.cc
@@ -771,6 +771,7 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
@@ -765,6 +765,7 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
if ((status == chrome::mojom::PluginStatus::kUnauthorized ||
status == chrome::mojom::PluginStatus::kBlocked) &&
@ -168,7 +168,7 @@ index dac5ee569f80..4d32c6d2d9c5 100644
observer->IsPluginTemporarilyAllowed(identifier)) {
status = chrome::mojom::PluginStatus::kAllowed;
}
@@ -958,7 +959,8 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
@@ -952,7 +953,8 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
render_frame->GetRemoteAssociatedInterfaces()->GetInterface(
&plugin_auth_host);
plugin_auth_host->BlockedUnauthorizedPlugin(group_name, identifier);
@ -178,7 +178,7 @@ index dac5ee569f80..4d32c6d2d9c5 100644
break;
}
case chrome::mojom::PluginStatus::kBlocked: {
@@ -967,7 +969,8 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
@@ -961,7 +963,8 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
l10n_util::GetStringFUTF16(IDS_PLUGIN_BLOCKED, group_name));
placeholder->AllowLoading();
RenderThread::Get()->RecordAction(UserMetricsAction("Plugin_Blocked"));
@ -188,7 +188,7 @@ index dac5ee569f80..4d32c6d2d9c5 100644
break;
}
case chrome::mojom::PluginStatus::kBlockedByPolicy: {
@@ -977,7 +980,8 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
@@ -971,7 +974,8 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
group_name));
RenderThread::Get()->RecordAction(
UserMetricsAction("Plugin_BlockedByPolicy"));
@ -198,7 +198,7 @@ index dac5ee569f80..4d32c6d2d9c5 100644
break;
}
case chrome::mojom::PluginStatus::kBlockedNoLoading: {
@@ -985,7 +989,8 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
@@ -979,7 +983,8 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
IDR_BLOCKED_PLUGIN_HTML,
l10n_util::GetStringFUTF16(IDS_PLUGIN_BLOCKED_NO_LOADING,
group_name));