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

Side by Side Diff: components/signin/ios/browser/profile_oauth2_token_service_ios_provider.mm

Issue 2928383002: [ObjC ARC] Converts components/signin/ios/browser:browser to ARC. (Closed)
Patch Set: Review fixes. Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « components/signin/ios/browser/profile_oauth2_token_service_ios_delegate.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/signin/ios/browser/profile_oauth2_token_service_ios_provide r.h" 5 #include "components/signin/ios/browser/profile_oauth2_token_service_ios_provide r.h"
6 6
7 #if !defined(__has_feature) || !__has_feature(objc_arc)
8 #error "This file requires ARC support."
9 #endif
10
7 std::vector<ProfileOAuth2TokenServiceIOSProvider::AccountInfo> 11 std::vector<ProfileOAuth2TokenServiceIOSProvider::AccountInfo>
8 ProfileOAuth2TokenServiceIOSProvider::GetAllAccounts() const { 12 ProfileOAuth2TokenServiceIOSProvider::GetAllAccounts() const {
9 return std::vector<ProfileOAuth2TokenServiceIOSProvider::AccountInfo>(); 13 return std::vector<ProfileOAuth2TokenServiceIOSProvider::AccountInfo>();
10 } 14 }
11 15
12 void ProfileOAuth2TokenServiceIOSProvider::GetAccessToken( 16 void ProfileOAuth2TokenServiceIOSProvider::GetAccessToken(
13 const std::string& gaia_id, 17 const std::string& gaia_id,
14 const std::string& client_id, 18 const std::string& client_id,
15 const std::string& client_secret, 19 const std::string& client_secret,
16 const std::set<std::string>& scopes, 20 const std::set<std::string>& scopes,
17 const AccessTokenCallback& callback) {} 21 const AccessTokenCallback& callback) {}
18 22
19 AuthenticationErrorCategory 23 AuthenticationErrorCategory
20 ProfileOAuth2TokenServiceIOSProvider::GetAuthenticationErrorCategory( 24 ProfileOAuth2TokenServiceIOSProvider::GetAuthenticationErrorCategory(
21 const std::string& gaia_id, 25 const std::string& gaia_id,
22 NSError* error) const { 26 NSError* error) const {
23 return kAuthenticationErrorCategoryUnknownErrors; 27 return kAuthenticationErrorCategoryUnknownErrors;
24 } 28 }
25 29
OLDNEW
« no previous file with comments | « components/signin/ios/browser/profile_oauth2_token_service_ios_delegate.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698