| Index: chrome/browser/profiles/profile.h
|
| diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
|
| index 3faa74c4bea5e56460f8761b731052fd5f570a98..c3b68a1e172f7336ccf17e4e62df70d621afce8b 100644
|
| --- a/chrome/browser/profiles/profile.h
|
| +++ b/chrome/browser/profiles/profile.h
|
| @@ -153,7 +153,7 @@ class Profile : public content::BrowserContext {
|
|
|
| // Returns the username associated with this profile, if any. In non-test
|
| // implementations, this is usually the Google-services email address.
|
| - virtual std::string GetProfileUserName() = 0;
|
| + virtual std::string GetProfileUserName() const = 0;
|
|
|
| // Returns the profile type.
|
| virtual ProfileType GetProfileType() const = 0;
|
| @@ -192,6 +192,7 @@ class Profile : public content::BrowserContext {
|
| // Retrieves a pointer to the PrefService that manages the
|
| // preferences for this user profile.
|
| virtual PrefService* GetPrefs() = 0;
|
| + virtual const PrefService* GetPrefs() const = 0;
|
|
|
| // Retrieves a pointer to the PrefService that manages the default zoom
|
| // level and the per-host zoom levels for this user profile.
|
|
|