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

Unified Diff: chrome/browser/password_manager/login_database.cc

Issue 2843062: Header Cleanup2: Remove another include of sqlite_utils.h that is not needed. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: revert some changes Created 10 years, 5 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/password_manager/login_database.cc
diff --git a/chrome/browser/password_manager/login_database.cc b/chrome/browser/password_manager/login_database.cc
index 7bd1f36836822c3a764e0776d52f41d74f9a904a..700dd3fe4f20db04e41560d14d037625f8eb68d0 100644
--- a/chrome/browser/password_manager/login_database.cc
+++ b/chrome/browser/password_manager/login_database.cc
@@ -15,15 +15,16 @@
#include "base/logging.h"
#include "base/time.h"
#include "base/utf_string_conversions.h"
-#include "chrome/common/sqlite_utils.h"
using webkit_glue::PasswordForm;
static const int kCurrentVersionNumber = 1;
static const int kCompatibleVersionNumber = 1;
+namespace {
+
// Convenience enum for interacting with SQL queries that use all the columns.
-typedef enum {
+enum LoginTableColumns {
COLUMN_ORIGIN_URL = 0,
COLUMN_ACTION_URL,
COLUMN_USERNAME_ELEMENT,
@@ -37,7 +38,9 @@ typedef enum {
COLUMN_DATE_CREATED,
COLUMN_BLACKLISTED_BY_USER,
COLUMN_SCHEME
-} LoginTableColumns;
+};
+
+} // namespace
LoginDatabase::LoginDatabase() {
}
« 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