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

Unified Diff: chrome/browser/webdata/logins_table.h

Issue 380023002: Move Password specific webdata logic into passwords component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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
Index: chrome/browser/webdata/logins_table.h
diff --git a/chrome/browser/webdata/logins_table.h b/chrome/browser/webdata/logins_table.h
deleted file mode 100644
index f9628ff30382feb8028d92abfda4ab3648ef0d1d..0000000000000000000000000000000000000000
--- a/chrome/browser/webdata/logins_table.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_WEBDATA_LOGINS_TABLE_H_
-#define CHROME_BROWSER_WEBDATA_LOGINS_TABLE_H_
-
-#include <vector>
-
-#include "base/compiler_specific.h"
-#include "components/webdata/common/web_database_table.h"
-
-#if defined(OS_WIN)
-struct IE7PasswordInfo;
-#endif
-
-class WebDatabase;
-
-// This class manages the logins table within the SQLite database passed to the
-// constructor. We no longer store passwords here except for imported IE
-// passwords, so this class is now mostly responsible for deleting the table if
-// it is found to exist. (The data was migrated out long ago.)
-class LoginsTable : public WebDatabaseTable {
- public:
- LoginsTable() {}
- virtual ~LoginsTable() {}
-
- // Retrieves the LoginsTable* owned by |database|.
- static LoginsTable* FromWebDatabase(WebDatabase* db);
-
- virtual WebDatabaseTable::TypeKey GetTypeKey() const OVERRIDE;
- virtual bool CreateTablesIfNecessary() OVERRIDE;
- virtual bool IsSyncable() OVERRIDE;
- virtual bool MigrateToVersion(int version,
- bool* update_compatible_version) OVERRIDE;
-
-#if defined(OS_WIN)
- // Adds |info| to the list of imported passwords from ie7/ie8.
- bool AddIE7Login(const IE7PasswordInfo& info);
-
- // Removes |info| from the list of imported passwords from ie7/ie8.
- bool RemoveIE7Login(const IE7PasswordInfo& info);
-
- // Return the ie7/ie8 login matching |info|.
- bool GetIE7Login(const IE7PasswordInfo& info, IE7PasswordInfo* result);
-#endif
-
- private:
- DISALLOW_COPY_AND_ASSIGN(LoginsTable);
-};
-
-#endif // CHROME_BROWSER_WEBDATA_LOGINS_TABLE_H_
« no previous file with comments | « chrome/browser/password_manager/password_store_win_unittest.cc ('k') | chrome/browser/webdata/logins_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698