Commit 263f6fa4 authored by rdevlin.cronin's avatar rdevlin.cronin Committed by Commit bot

[Extensions] Enable the "Report Abuse" checkbox in extension uninstall

After talking it over more, it's been decided that this should really just be
enabled by default, rather than Finch'd.

BUG=441377

Review URL: https://codereview.chromium.org/1131113003

Cr-Commit-Position: refs/heads/master@{#329908}
parent cde126fd
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include "base/bind.h" #include "base/bind.h"
#include "base/logging.h" #include "base/logging.h"
#include "base/message_loop/message_loop.h" #include "base/message_loop/message_loop.h"
#include "base/metrics/field_trial.h"
#include "base/metrics/histogram_macros.h" #include "base/metrics/histogram_macros.h"
#include "base/strings/utf_string_conversions.h" #include "base/strings/utf_string_conversions.h"
#include "chrome/browser/extensions/extension_util.h" #include "chrome/browser/extensions/extension_util.h"
...@@ -131,9 +130,7 @@ std::string ExtensionUninstallDialog::GetHeadingText() { ...@@ -131,9 +130,7 @@ std::string ExtensionUninstallDialog::GetHeadingText() {
} }
bool ExtensionUninstallDialog::ShouldShowReportAbuseCheckbox() const { bool ExtensionUninstallDialog::ShouldShowReportAbuseCheckbox() const {
return ManifestURL::UpdatesFromGallery(extension_) && return ManifestURL::UpdatesFromGallery(extension_);
base::FieldTrialList::FindFullName("ExtensionUninstall.ReportAbuse") ==
"ShowCheckbox";
} }
void ExtensionUninstallDialog::OnDialogClosed(CloseAction action) { void ExtensionUninstallDialog::OnDialogClosed(CloseAction action) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment