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

Unified Diff: chrome/browser/importer/in_process_importer_bridge.cc

Issue 665113002: Collect statistics from the importer on empty usernames and passwords from other browsers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | chrome/utility/importer/external_process_importer_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/in_process_importer_bridge.cc
diff --git a/chrome/browser/importer/in_process_importer_bridge.cc b/chrome/browser/importer/in_process_importer_bridge.cc
index ed24891f048bca421a97f1a5809ce18f0c420b16..1187de9624a8a16bfa8bb243e12ebf0750d73de0 100644
--- a/chrome/browser/importer/in_process_importer_bridge.cc
+++ b/chrome/browser/importer/in_process_importer_bridge.cc
@@ -5,7 +5,6 @@
#include "chrome/browser/importer/in_process_importer_bridge.h"
#include "base/bind.h"
-#include "base/debug/dump_without_crashing.h"
#include "base/files/file_util.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
@@ -63,15 +62,6 @@ history::VisitSource ConvertImporterVisitSourceToHistoryVisitSource(
return history::SOURCE_SYNCED;
}
-// http://crbug.com/404012. Let's see where the empty fields come from.
-void CheckForEmptyUsernameAndPassword(const autofill::PasswordForm& form) {
- if (form.username_value.empty() &&
- form.password_value.empty() &&
- !form.blacklisted_by_user) {
- base::debug::DumpWithoutCrashing();
- }
-}
-
} // namespace
using content::BrowserThread;
@@ -261,7 +251,6 @@ void InProcessImporterBridge::SetFirefoxSearchEnginesXMLData(
void InProcessImporterBridge::SetPasswordForm(
const autofill::PasswordForm& form) {
- CheckForEmptyUsernameAndPassword(form);
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
base::Bind(&ProfileWriter::AddPasswordForm, writer_, form));
« no previous file with comments | « no previous file | chrome/utility/importer/external_process_importer_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698