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

Side by Side Diff: chrome/browser/tracing/crash_service_uploader.cc

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 years, 1 month 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 "chrome/browser/tracing/crash_service_uploader.h" 5 #include "chrome/browser/tracing/crash_service_uploader.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/files/file_util.h" 11 #include "base/files/file_util.h"
12 #include "base/format_macros.h" 12 #include "base/format_macros.h"
13 #include "base/json/json_writer.h" 13 #include "base/json/json_writer.h"
14 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/string_split.h" 15 #include "base/strings/string_split.h"
16 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
17 #include "base/strings/stringprintf.h"
18 #include "base/time/time.h" 17 #include "base/time/time.h"
19 #include "build/build_config.h" 18 #include "build/build_config.h"
20 #include "components/data_use_measurement/core/data_use_user_data.h" 19 #include "components/data_use_measurement/core/data_use_user_data.h"
21 #include "components/tracing/common/tracing_switches.h" 20 #include "components/tracing/common/tracing_switches.h"
22 #include "components/version_info/version_info.h" 21 #include "components/version_info/version_info.h"
23 #include "content/public/browser/browser_thread.h" 22 #include "content/public/browser/browser_thread.h"
24 #include "content/public/common/content_switches.h" 23 #include "content/public/common/content_switches.h"
25 #include "net/base/mime_util.h" 24 #include "net/base/mime_util.h"
26 #include "net/base/network_delegate.h" 25 #include "net/base/network_delegate.h"
27 #include "net/proxy/proxy_config.h" 26 #include "net/proxy/proxy_config.h"
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 310
312 url_fetcher_ = 311 url_fetcher_ =
313 net::URLFetcher::Create(GURL(upload_url), net::URLFetcher::POST, this); 312 net::URLFetcher::Create(GURL(upload_url), net::URLFetcher::POST, this);
314 data_use_measurement::DataUseUserData::AttachToFetcher( 313 data_use_measurement::DataUseUserData::AttachToFetcher(
315 url_fetcher_.get(), 314 url_fetcher_.get(),
316 data_use_measurement::DataUseUserData::TRACING_UPLOADER); 315 data_use_measurement::DataUseUserData::TRACING_UPLOADER);
317 url_fetcher_->SetRequestContext(request_context_); 316 url_fetcher_->SetRequestContext(request_context_);
318 url_fetcher_->SetUploadData(content_type, post_data); 317 url_fetcher_->SetUploadData(content_type, post_data);
319 url_fetcher_->Start(); 318 url_fetcher_->Start();
320 } 319 }
OLDNEW
« no previous file with comments | « chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc ('k') | chrome/browser/ui/ash/system_tray_delegate_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698