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

Side by Side Diff: extensions/browser/updater/extension_downloader.cc

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "extensions/browser/updater/extension_downloader.h" 5 #include "extensions/browser/updater/extension_downloader.h"
6 6
7 #include <stddef.h>
8
7 #include <utility> 9 #include <utility>
8 10
9 #include "base/bind.h" 11 #include "base/bind.h"
10 #include "base/command_line.h" 12 #include "base/command_line.h"
11 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
12 #include "base/location.h" 14 #include "base/location.h"
13 #include "base/logging.h" 15 #include "base/logging.h"
14 #include "base/metrics/histogram.h" 16 #include "base/metrics/histogram.h"
15 #include "base/metrics/sparse_histogram.h" 17 #include "base/metrics/sparse_histogram.h"
16 #include "base/stl_util.h" 18 #include "base/stl_util.h"
(...skipping 919 matching lines...) Expand 10 before | Expand all | Expand 10 after
936 const GURL& update_url, 938 const GURL& update_url,
937 int request_id) { 939 int request_id) {
938 ManifestFetchData::PingMode ping_mode = ManifestFetchData::NO_PING; 940 ManifestFetchData::PingMode ping_mode = ManifestFetchData::NO_PING;
939 if (update_url.DomainIs(ping_enabled_domain_.c_str())) 941 if (update_url.DomainIs(ping_enabled_domain_.c_str()))
940 ping_mode = ManifestFetchData::PING_WITH_ENABLED_STATE; 942 ping_mode = ManifestFetchData::PING_WITH_ENABLED_STATE;
941 return new ManifestFetchData( 943 return new ManifestFetchData(
942 update_url, request_id, brand_code_, manifest_query_params_, ping_mode); 944 update_url, request_id, brand_code_, manifest_query_params_, ping_mode);
943 } 945 }
944 946
945 } // namespace extensions 947 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/updater/extension_downloader.h ('k') | extensions/browser/updater/manifest_fetch_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698