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

Issue 10970055: Log ChromeToMobile search and auth errors to UMA and INFO. (Closed)

Created:
8 years, 3 months ago by msw
Modified:
8 years, 2 months ago
Reviewers:
sky, Jói
CC:
chromium-reviews, nyquist, Ilya Sherman
Visibility:
Public.

Description

Log ChromeToMobile search and auth errors to UMA and INFO. Add more UMA and VLOG(0) to OnGetTokenFailure and HandleSearchResponse. (add supporting GoogleServiceAuthError::NUM_STATES enum value) (add supporting CTMService SEARCH_[SUCCESS|ERROR] enum values) (change existing LOG_IF(INFO, ...) to VLOG_IF(0, ...) in HandleSubmitResponse) ChromeToMobile.AuthError UMA histogram added here: https://chromereviews.googleplex.com/4964015 BUG=102709, 120941 TEST=Additional UMA and INFO logging of any auth token generation errors. R=joi@chromium.org,sky@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158345

Patch Set 1 #

Patch Set 2 : Inline LogAuthError; Add NUM_STATES case to webui switch. #

Total comments: 5

Patch Set 3 : Switch to VLOG. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -22 lines) Patch
M chrome/browser/chrome_to_mobile_service.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chrome_to_mobile_service.cc View 1 2 4 chunks +35 lines, -21 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/enterprise_oauth_enrollment_screen_handler.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M google_apis/gaia/google_service_auth_error.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
msw
Scott, please review chrome/browser/chrome_to_mobile_service.[h|cc], thanks! Jói, please review: google_apis/gaia/google_service_auth_error.h, thanks!
8 years, 3 months ago (2012-09-22 03:47:24 UTC) #1
Jói
LGTM
8 years, 3 months ago (2012-09-22 12:01:27 UTC) #2
sky
https://codereview.chromium.org/10970055/diff/7001/chrome/browser/chrome_to_mobile_service.cc File chrome/browser/chrome_to_mobile_service.cc (right): https://codereview.chromium.org/10970055/diff/7001/chrome/browser/chrome_to_mobile_service.cc#newcode402 chrome/browser/chrome_to_mobile_service.cc:402: LOG(INFO) << "ChromeToMobile auth failed: " << error.ToString(); Use ...
8 years, 2 months ago (2012-09-24 14:00:25 UTC) #3
sky
LGTM once you switch to VLOG
8 years, 2 months ago (2012-09-24 14:00:32 UTC) #4
msw
Done; landing. FYI, I had explicitly chosen LOG over VLOG to catch unexpected errors after-the-fact, ...
8 years, 2 months ago (2012-09-24 17:23:20 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/10970055/9010
8 years, 2 months ago (2012-09-24 17:24:03 UTC) #6
commit-bot: I haz the power
8 years, 2 months ago (2012-09-24 19:20:20 UTC) #7
Change committed as 158345

Powered by Google App Engine
This is Rietveld 408576698