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

Side by Side Diff: components/password_manager/core/browser/affiliation_fetcher.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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/password_manager/core/browser/affiliation_fetcher.h" 5 #include "components/password_manager/core/browser/affiliation_fetcher.h"
6 6
7 #include <stddef.h>
8
7 #include "base/metrics/histogram_macros.h" 9 #include "base/metrics/histogram_macros.h"
8 #include "base/metrics/sparse_histogram.h" 10 #include "base/metrics/sparse_histogram.h"
9 #include "components/password_manager/core/browser/affiliation_api.pb.h" 11 #include "components/password_manager/core/browser/affiliation_api.pb.h"
10 #include "components/password_manager/core/browser/affiliation_utils.h" 12 #include "components/password_manager/core/browser/affiliation_utils.h"
11 #include "components/password_manager/core/browser/test_affiliation_fetcher_fact ory.h" 13 #include "components/password_manager/core/browser/test_affiliation_fetcher_fact ory.h"
12 #include "google_apis/google_api_keys.h" 14 #include "google_apis/google_api_keys.h"
13 #include "net/base/load_flags.h" 15 #include "net/base/load_flags.h"
14 #include "net/base/url_util.h" 16 #include "net/base/url_util.h"
15 #include "net/http/http_status_code.h" 17 #include "net/http/http_status_code.h"
16 #include "net/url_request/url_fetcher.h" 18 #include "net/url_request/url_fetcher.h"
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 ReportStatistics(AFFILIATION_FETCH_RESULT_MALFORMED, nullptr); 209 ReportStatistics(AFFILIATION_FETCH_RESULT_MALFORMED, nullptr);
208 delegate_->OnMalformedResponse(); 210 delegate_->OnMalformedResponse();
209 } 211 }
210 } else { 212 } else {
211 ReportStatistics(AFFILIATION_FETCH_RESULT_FAILURE, fetcher_.get()); 213 ReportStatistics(AFFILIATION_FETCH_RESULT_FAILURE, fetcher_.get());
212 delegate_->OnFetchFailed(); 214 delegate_->OnFetchFailed();
213 } 215 }
214 } 216 }
215 217
216 } // namespace password_manager 218 } // namespace password_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698