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

Side by Side Diff: ios/public/provider/chrome/browser/signin/signin_error_provider.mm

Issue 2964383002: [ObjC ARC] Converts ios/public/provider/chrome/browser/signin:signin to ARC. (Closed)
Patch Set: comments Created 3 years, 5 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ios/public/provider/chrome/browser/signin/signin_error_provider.h" 5 #include "ios/public/provider/chrome/browser/signin/signin_error_provider.h"
6 6
7 #if !defined(__has_feature) || !__has_feature(objc_arc)
8 #error "This file requires ARC support."
9 #endif
10
7 namespace ios { 11 namespace ios {
8 12
9 SigninErrorProvider::SigninErrorProvider() {} 13 SigninErrorProvider::SigninErrorProvider() {}
10 14
11 SigninErrorProvider::~SigninErrorProvider() {} 15 SigninErrorProvider::~SigninErrorProvider() {}
12 16
13 SigninErrorCategory SigninErrorProvider::GetErrorCategory(NSError* error) { 17 SigninErrorCategory SigninErrorProvider::GetErrorCategory(NSError* error) {
14 return SigninErrorCategory::UNKNOWN_ERROR; 18 return SigninErrorCategory::UNKNOWN_ERROR;
15 } 19 }
16 20
(...skipping 15 matching lines...) Expand all
32 36
33 NSString* SigninErrorProvider::GetSigninErrorDomain() { 37 NSString* SigninErrorProvider::GetSigninErrorDomain() {
34 return @"signin_error_domain"; 38 return @"signin_error_domain";
35 } 39 }
36 40
37 int SigninErrorProvider::GetCode(SigninError error) { 41 int SigninErrorProvider::GetCode(SigninError error) {
38 return 0; 42 return 0;
39 } 43 }
40 44
41 } // namesace ios 45 } // namesace ios
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698