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

Unified Diff: components/password_manager/core/browser/login_database.cc

Issue 878763002: Revert of Instrumenting opening password database to find jank (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolving conflicts Created 5 years, 11 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: components/password_manager/core/browser/login_database.cc
diff --git a/components/password_manager/core/browser/login_database.cc b/components/password_manager/core/browser/login_database.cc
index c70e650e02c8934162be96747ecf76bdd54f4142..91b6f9a2cfc928de47374ede14ad91ce3acb217e 100644
--- a/components/password_manager/core/browser/login_database.cc
+++ b/components/password_manager/core/browser/login_database.cc
@@ -12,7 +12,6 @@
#include "base/logging.h"
#include "base/metrics/histogram.h"
#include "base/pickle.h"
-#include "base/profiler/scoped_tracker.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
#include "base/time/time.h"
@@ -167,15 +166,9 @@ bool LoginDatabase::Init() {
db_.set_exclusive_locking();
db_.set_restrict_to_user();
- {
- // TODO(vadimt): Remove ScopedTracker below once crbug.com/138903 is fixed.
- tracked_objects::ScopedTracker tracking_profile(
- FROM_HERE_WITH_EXPLICIT_FUNCTION("138903 LoginDatabase::Init db init"));
-
- if (!db_.Open(db_path_)) {
- LOG(WARNING) << "Unable to open the password store database.";
- return false;
- }
+ if (!db_.Open(db_path_)) {
+ LOG(WARNING) << "Unable to open the password store database.";
+ return false;
}
sql::Transaction transaction(&db_);
« 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