Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3338)

Unified Diff: chrome/browser/safe_browsing/safe_browsing_blocking_page.cc

Issue 338653004: Remove logging statements from SafeBrowsingBlockingPage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
index 76a83c8d35efdf26bd0cbf4a105618db9691c829..458d142e26044663e1f38e681fc01ef9d938b5d7 100644
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
@@ -481,21 +481,16 @@ void SafeBrowsingBlockingPage::SetReportingPreference(bool report) {
// kSafeBrowsingExtendedReportingEnabled should be updated.
// TODO(felt): Remove this in M-39. crbug.com/384668
void SafeBrowsingBlockingPage::UpdateReportingPref() {
- LOG(ERROR) << "1";
if (!reporting_checkbox_checked_)
return;
- LOG(ERROR) << "2";
if (IsPrefEnabled(prefs::kSafeBrowsingExtendedReportingEnabled))
return;
- LOG(ERROR) << "3";
Profile* profile = Profile::FromBrowserContext(
web_contents_->GetBrowserContext());
if (profile->GetPrefs()->HasPrefPath(
prefs::kSafeBrowsingExtendedReportingEnabled))
return;
- LOG(ERROR) << "4";
SetReportingPreference(true);
- LOG(ERROR) << "5";
}
void SafeBrowsingBlockingPage::OnProceed() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698