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

Unified Diff: chrome/browser/password_manager/native_backend_kwallet_x.h

Issue 196173023: [Password Manager] Remove dead profile migration code for GNOME/KWallet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/password_manager/native_backend_kwallet_x.h
diff --git a/chrome/browser/password_manager/native_backend_kwallet_x.h b/chrome/browser/password_manager/native_backend_kwallet_x.h
index b50f90e2e1c4a258d1da97658fb66667aae45252..e39ee04bb82b335575d9ce2e5146c4c91e2d5c76 100644
--- a/chrome/browser/password_manager/native_backend_kwallet_x.h
+++ b/chrome/browser/password_manager/native_backend_kwallet_x.h
@@ -16,7 +16,6 @@
class Pickle;
class PickleIterator;
-class PrefService;
namespace autofill {
struct PasswordForm;
@@ -34,7 +33,7 @@ class ObjectProxy;
// NativeBackend implementation using KWallet.
class NativeBackendKWallet : public PasswordStoreX::NativeBackend {
public:
- NativeBackendKWallet(LocalProfileId id, PrefService* prefs);
+ explicit NativeBackendKWallet(LocalProfileId id);
virtual ~NativeBackendKWallet();
@@ -131,21 +130,12 @@ class NativeBackendKWallet : public PasswordStoreX::NativeBackend {
// Generates a profile-specific folder name based on profile_id_.
std::string GetProfileSpecificFolderName() const;
- // Migrates non-profile-specific logins to be profile-specific.
- void MigrateToProfileSpecificLogins();
-
// The local profile id, used to generate the folder name.
const LocalProfileId profile_id_;
- // The pref service to use for persistent migration settings.
- PrefService* prefs_;
-
// The KWallet folder name, possibly based on the local profile id.
std::string folder_name_;
- // True once MigrateToProfileSpecificLogins() has been attempted.
- bool migrate_tried_;
-
// DBus handle for communication with klauncher and kwalletd.
scoped_refptr<dbus::Bus> session_bus_;
// Object proxy for kwalletd. We do not own this.

Powered by Google App Engine
This is Rietveld 408576698