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. |