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

Side by Side Diff: content/browser/tracing/trace_uploader.cc

Issue 689563002: Cleanup: Remove unneeded path_service.h includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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 "content/browser/tracing/trace_uploader.h" 5 #include "content/browser/tracing/trace_uploader.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/files/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/memory/shared_memory.h" 9 #include "base/memory/shared_memory.h"
10 #include "base/path_service.h"
11 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
12 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
13 #include "base/time/time.h" 12 #include "base/time/time.h"
14 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
15 #include "net/base/mime_util.h" 14 #include "net/base/mime_util.h"
16 #include "net/base/network_delegate.h" 15 #include "net/base/network_delegate.h"
17 #include "net/proxy/proxy_config.h" 16 #include "net/proxy/proxy_config.h"
18 #include "net/proxy/proxy_config_service.h" 17 #include "net/proxy/proxy_config_service.h"
19 #include "net/url_request/url_fetcher.h" 18 #include "net/url_request/url_fetcher.h"
20 #include "net/url_request/url_request_context.h" 19 #include "net/url_request/url_request_context.h"
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 content_type.append(kMultipartBoundary); 201 content_type.append(kMultipartBoundary);
203 202
204 url_fetcher_.reset( 203 url_fetcher_.reset(
205 net::URLFetcher::Create(GURL(upload_url_), net::URLFetcher::POST, this)); 204 net::URLFetcher::Create(GURL(upload_url_), net::URLFetcher::POST, this));
206 url_fetcher_->SetRequestContext(request_context_); 205 url_fetcher_->SetRequestContext(request_context_);
207 url_fetcher_->SetUploadData(content_type, post_data); 206 url_fetcher_->SetUploadData(content_type, post_data);
208 url_fetcher_->Start(); 207 url_fetcher_->Start();
209 } 208 }
210 209
211 } // namespace content 210 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/shared_worker/worker_browsertest.cc ('k') | content/browser/webui/web_ui_mojo_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698