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

Unified Diff: chrome/browser/chromeos/login/oauth2_login_manager.h

Issue 12330008: Get rid of the ability to unregister preferences. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head for commit. Created 7 years, 10 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 | « base/prefs/pref_service.cc ('k') | chrome/browser/chromeos/login/oauth2_login_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/oauth2_login_manager.h
diff --git a/chrome/browser/chromeos/login/oauth2_login_manager.h b/chrome/browser/chromeos/login/oauth2_login_manager.h
index 1e55f04d20ecf23ac55844449cb3c70f0bf3fedf..3f358d56e9d0b982ac05b0272035e3ec1be3cba3 100644
--- a/chrome/browser/chromeos/login/oauth2_login_manager.h
+++ b/chrome/browser/chromeos/login/oauth2_login_manager.h
@@ -17,6 +17,7 @@
#include "net/url_request/url_request_context_getter.h"
class GoogleServiceAuthError;
+class PrefRegistrySyncable;
class Profile;
class TokenService;
@@ -31,6 +32,8 @@ class OAuth2LoginManager : public OAuthLoginManager,
explicit OAuth2LoginManager(OAuthLoginManager::Delegate* delegate);
virtual ~OAuth2LoginManager();
+ static void RegisterUserPrefs(PrefRegistrySyncable* registry);
+
// OAuthLoginManager overrides.
virtual void RestorePolicyTokens(
net::URLRequestContextGetter* auth_request_context) OVERRIDE;
@@ -73,7 +76,7 @@ class OAuth2LoginManager : public OAuthLoginManager,
// observer events.
TokenService* SetupTokenService();
- // Removes legacy tokens form OAuth1 flow.
+ // Removes legacy tokens from OAuth1 flow.
void RemoveLegacyTokens();
// Records OAuth2 tokens fetched through either policy fetcher or cookies-to-
« no previous file with comments | « base/prefs/pref_service.cc ('k') | chrome/browser/chromeos/login/oauth2_login_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698