OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "chrome/browser/chromeos/login/oauth2_login_verifier.h" | 5 #include "chrome/browser/chromeos/login/oauth2_login_verifier.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/metrics/histogram.h" | 10 #include "base/metrics/histogram.h" |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 LOG(ERROR) << "Unrecoverable error or retry count max reached for " | 237 LOG(ERROR) << "Unrecoverable error or retry count max reached for " |
238 << operation_id; | 238 << operation_id; |
239 UMA_HISTOGRAM_ENUMERATION( | 239 UMA_HISTOGRAM_ENUMERATION( |
240 base::StringPrintf("OAuth2Login.%sFailureCause", operation_id), | 240 base::StringPrintf("OAuth2Login.%sFailureCause", operation_id), |
241 error.state(), | 241 error.state(), |
242 GoogleServiceAuthError::NUM_STATES); | 242 GoogleServiceAuthError::NUM_STATES); |
243 error_handler.Run(); | 243 error_handler.Run(); |
244 } | 244 } |
245 | 245 |
246 } // namespace chromeos | 246 } // namespace chromeos |
OLD | NEW |