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

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: Add to factory list 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
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index 900567225469e3d5c33fcceb330773480bdf35b1..9adf36afd203acbe2762869299af0020e14e8de7 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
@@ -160,11 +152,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() {}
@@ -307,11 +294,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.
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698