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

Unified Diff: chrome/browser/password_manager/native_backend_gnome_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
« no previous file with comments | « no previous file | chrome/browser/password_manager/native_backend_gnome_x.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/native_backend_gnome_x.h
diff --git a/chrome/browser/password_manager/native_backend_gnome_x.h b/chrome/browser/password_manager/native_backend_gnome_x.h
index e115462adec0ef22871895d33842847ef68ee0b1..925eb09c6de6261ffb74b97be8f0525a30673f2a 100644
--- a/chrome/browser/password_manager/native_backend_gnome_x.h
+++ b/chrome/browser/password_manager/native_backend_gnome_x.h
@@ -15,8 +15,6 @@
#include "chrome/browser/password_manager/password_store_x.h"
#include "chrome/browser/profiles/profile.h"
-class PrefService;
-
namespace autofill {
struct PasswordForm;
}
@@ -76,7 +74,7 @@ class GnomeKeyringLoader {
class NativeBackendGnome : public PasswordStoreX::NativeBackend,
public GnomeKeyringLoader {
public:
- NativeBackendGnome(LocalProfileId id, PrefService* prefs);
+ explicit NativeBackendGnome(LocalProfileId id);
virtual ~NativeBackendGnome();
@@ -109,21 +107,12 @@ class NativeBackendGnome : public PasswordStoreX::NativeBackend,
// Generates a profile-specific app string based on profile_id_.
std::string GetProfileSpecificAppString() const;
- // Migrates non-profile-specific logins to be profile-specific.
- void MigrateToProfileSpecificLogins();
-
// The local profile id, used to generate the app string.
const LocalProfileId profile_id_;
- // The pref service to use for persistent migration settings.
- PrefService* prefs_;
-
// The app string, possibly based on the local profile id.
std::string app_string_;
- // True once MigrateToProfileSpecificLogins() has been attempted.
- bool migrate_tried_;
-
DISALLOW_COPY_AND_ASSIGN(NativeBackendGnome);
};
« no previous file with comments | « no previous file | chrome/browser/password_manager/native_backend_gnome_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698