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

Unified Diff: chrome/browser/profiles/profile.h

Issue 9665007: Profile refactoring: Remove all PasswordStore code from the Profile interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win and Mac Created 8 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/profiles/profile.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index b0933795ded93ab3b38fb7c86ca1d89f602870fa..a9ea2b54827948b6a7c179cc3cc130ec849cd2cf 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -80,14 +80,6 @@ namespace net {
class SSLConfigService;
}
-#if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) && defined(OS_POSIX)
-// Local profile ids are used to associate resources stored outside the profile
-// directory, like saved passwords in GNOME Keyring / KWallet, with a profile.
-// With high probability, they are unique on the local machine. They are almost
-// certainly not unique globally, by design. Do not send them over the network.
-typedef int LocalProfileId;
-#endif
-
class Profile : public content::BrowserContext {
public:
// Profile services are accessed with the following parameter. This parameter
@@ -153,11 +145,6 @@ class Profile : public content::BrowserContext {
// Key used to bind profile to the widget with which it is associated.
static const char* const kProfileKey;
-#if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) && defined(OS_POSIX)
- // Value that represents no local profile id.
- static const LocalProfileId kInvalidLocalProfileId;
-#endif
-
Profile();
virtual ~Profile() {}
@@ -301,11 +288,6 @@ class Profile : public content::BrowserContext {
// doesn't already exist.
virtual WebDataService* GetWebDataServiceWithoutCreating() = 0;
- // Returns the PasswordStore for this profile. This is owned by the Profile.
- // This may return NULL if the implementation is unable to create a
- // password store (e.g. a corrupt database).
- virtual PasswordStore* GetPasswordStore(ServiceAccessType access) = 0;
-
// Retrieves a pointer to the PrefService that manages the preferences
// for this user profile. The PrefService is lazily created the first
// time that this method is called.

Powered by Google App Engine
This is Rietveld 408576698