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

Side by Side Diff: net/url_request/url_fetcher_core.cc

Issue 2815913005: Switch to using scoped_ptr with UserData (Closed)
Patch Set: nico's nits Created 3 years, 8 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
« no previous file with comments | « net/url_request/url_fetcher.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "net/url_request/url_fetcher_core.h" 5 #include "net/url_request/url_fetcher_core.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/memory/ptr_util.h"
davidben 2017/04/14 19:38:24 Stray change?
Avi (use Gerrit) 2017/04/14 19:49:20 Perhaps. Removing to see if things still work.
12 #include "base/metrics/histogram_macros.h" 13 #include "base/metrics/histogram_macros.h"
13 #include "base/profiler/scoped_tracker.h" 14 #include "base/profiler/scoped_tracker.h"
14 #include "base/sequenced_task_runner.h" 15 #include "base/sequenced_task_runner.h"
15 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
16 #include "base/stl_util.h" 17 #include "base/stl_util.h"
17 #include "base/threading/sequenced_task_runner_handle.h" 18 #include "base/threading/sequenced_task_runner_handle.h"
18 #include "base/tracked_objects.h" 19 #include "base/tracked_objects.h"
19 #include "net/base/elements_upload_data_stream.h" 20 #include "net/base/elements_upload_data_stream.h"
20 #include "net/base/io_buffer.h" 21 #include "net/base/io_buffer.h"
21 #include "net/base/load_flags.h" 22 #include "net/base/load_flags.h"
(...skipping 933 matching lines...) Expand 10 before | Expand all | Expand 10 after
955 } 956 }
956 957
957 void URLFetcherCore::AssertHasNoUploadData() const { 958 void URLFetcherCore::AssertHasNoUploadData() const {
958 DCHECK(!upload_content_set_); 959 DCHECK(!upload_content_set_);
959 DCHECK(upload_content_.empty()); 960 DCHECK(upload_content_.empty());
960 DCHECK(upload_file_path_.empty()); 961 DCHECK(upload_file_path_.empty());
961 DCHECK(upload_stream_factory_.is_null()); 962 DCHECK(upload_stream_factory_.is_null());
962 } 963 }
963 964
964 } // namespace net 965 } // namespace net
OLDNEW
« no previous file with comments | « net/url_request/url_fetcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698