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

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

Issue 2606753004: Import Objective C Frameworks in components (Closed)
Patch Set: Created 3 years, 11 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/fake_profile_oauth2_token_service_ios_pr ovider.h" 5 #include "components/signin/ios/browser/fake_profile_oauth2_token_service_ios_pr ovider.h"
6 6
7 #include <Foundation/Foundation.h> 7 #import <Foundation/Foundation.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/strings/sys_string_conversions.h" 10 #include "base/strings/sys_string_conversions.h"
11 11
12 FakeProfileOAuth2TokenServiceIOSProvider:: 12 FakeProfileOAuth2TokenServiceIOSProvider::
13 FakeProfileOAuth2TokenServiceIOSProvider() { 13 FakeProfileOAuth2TokenServiceIOSProvider() {
14 } 14 }
15 15
16 FakeProfileOAuth2TokenServiceIOSProvider:: 16 FakeProfileOAuth2TokenServiceIOSProvider::
17 ~FakeProfileOAuth2TokenServiceIOSProvider() { 17 ~FakeProfileOAuth2TokenServiceIOSProvider() {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 requests_.clear(); 71 requests_.clear();
72 } 72 }
73 73
74 AuthenticationErrorCategory 74 AuthenticationErrorCategory
75 FakeProfileOAuth2TokenServiceIOSProvider::GetAuthenticationErrorCategory( 75 FakeProfileOAuth2TokenServiceIOSProvider::GetAuthenticationErrorCategory(
76 const std::string& gaia_id, 76 const std::string& gaia_id,
77 NSError* error) const { 77 NSError* error) const {
78 DCHECK(error); 78 DCHECK(error);
79 return kAuthenticationErrorCategoryAuthorizationErrors; 79 return kAuthenticationErrorCategoryAuthorizationErrors;
80 } 80 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698