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

Side by Side Diff: ios/web/web_state/crw_pass_kit_downloader.mm

Issue 1544743002: Switch to standard integer types in ios/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « ios/web/test/web_test_suite.h ('k') | ios/web/web_state/global_web_state_event_tracker.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #import "ios/web/web_state/crw_pass_kit_downloader.h" 5 #import "ios/web/web_state/crw_pass_kit_downloader.h"
6 6
7 #import "base/ios/weak_nsobject.h" 7 #import "base/ios/weak_nsobject.h"
8 #include "base/mac/scoped_block.h" 8 #include "base/mac/scoped_block.h"
9 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
10 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram.h"
11 #include "base/strings/sys_string_conversions.h" 12 #include "base/strings/sys_string_conversions.h"
12 #import "ios/web/crw_network_activity_indicator_manager.h" 13 #import "ios/web/crw_network_activity_indicator_manager.h"
13 #include "net/http/http_response_headers.h" 14 #include "net/http/http_response_headers.h"
14 #include "net/url_request/url_fetcher.h" 15 #include "net/url_request/url_fetcher.h"
15 #include "net/url_request/url_fetcher_delegate.h" 16 #include "net/url_request/url_fetcher_delegate.h"
16 #include "net/url_request/url_request_context_getter.h" 17 #include "net/url_request/url_request_context_getter.h"
17 18
18 using net::URLFetcher; 19 using net::URLFetcher;
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 stringWithFormat:@"PassKitDownloader.NetworkActivityIndicatorKey.%d", 193 stringWithFormat:@"PassKitDownloader.NetworkActivityIndicatorKey.%d",
193 _passKitDownloaderID]; 194 _passKitDownloaderID];
194 } 195 }
195 196
196 - (void)reportUMAPassKitResult:(DownloadPassKitResult)result { 197 - (void)reportUMAPassKitResult:(DownloadPassKitResult)result {
197 UMA_HISTOGRAM_ENUMERATION(kUMADownloadPassKitResult, result, 198 UMA_HISTOGRAM_ENUMERATION(kUMADownloadPassKitResult, result,
198 DOWNLOAD_PASS_KIT_RESULT_COUNT); 199 DOWNLOAD_PASS_KIT_RESULT_COUNT);
199 } 200 }
200 201
201 @end 202 @end
OLDNEW
« no previous file with comments | « ios/web/test/web_test_suite.h ('k') | ios/web/web_state/global_web_state_event_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698