Skip to content

Commit

Permalink
Remove obsolete kDeviceManagementService token type
Browse files Browse the repository at this point in the history
BUG=174637


Review URL: https://chromiumcodereview.appspot.com/12279005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183229 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
atwilson@chromium.org committed Feb 19, 2013
1 parent 9600dcb commit 0ace10f
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion chrome/browser/signin/signin_internals_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ const char kObfuscatedGaiaIdFetcherToken[] = "ObfuscatedGaiaIdFetcher";
const char kOAuth2MintTokenFlowToken[] = "OAuth2MintTokenFlow";
const char* kTokenPrefsArray[] = {
GaiaConstants::kSyncService,
GaiaConstants::kDeviceManagementService,
GaiaConstants::kLSOService,
GaiaConstants::kGaiaOAuth2LoginRefreshToken,
GaiaConstants::kGaiaOAuth2LoginAccessToken,
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/signin/token_service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ namespace {
// List of services that are capable of ClientLogin-based authentication.
const char* kServices[] = {
GaiaConstants::kSyncService,
GaiaConstants::kDeviceManagementService,
GaiaConstants::kLSOService
};

Expand Down
2 changes: 1 addition & 1 deletion chrome/browser/signin/token_service.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ class TokenService : public GaiaAuthConsumer,
// number of entries in this array must match the number of entries in the
// kServices array declared in the cc file. If not, a compile time error
// will occur.
scoped_ptr<GaiaAuthFetcher> fetchers_[3];
scoped_ptr<GaiaAuthFetcher> fetchers_[2];

// Map from service to token.
std::map<std::string, std::string> token_map_;
Expand Down
1 change: 0 additions & 1 deletion google_apis/gaia/gaia_constants.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const char kRemotingService[] = "chromoting";
const char kCloudPrintService[] = "cloudprint";

// Service/scope names for device management (cloud-based policy) server.
const char kDeviceManagementService[] = "mobilesync";
const char kDeviceManagementServiceOAuth[] =
"https://www.googleapis.com/auth/chromeosdevicemanagement";

Expand Down
1 change: 0 additions & 1 deletion google_apis/gaia/gaia_constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ extern const char kPicasaService[];
extern const char kSyncService[];
extern const char kRemotingService[];
extern const char kCloudPrintService[];
extern const char kDeviceManagementService[];
extern const char kDeviceManagementServiceOAuth[];
extern const char kCWSService[];
extern const char kCWSNotificationScope[];
Expand Down

0 comments on commit 0ace10f

Please sign in to comment.