| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |