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

Side by Side Diff: mojo/services/network/url_loader_impl.cc

Issue 1841863002: Update monet. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 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
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 "mojo/services/network/url_loader_impl.h" 5 #include "mojo/services/network/url_loader_impl.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/trace_event/trace_event.h" 11 #include "base/trace_event/trace_event.h"
12 #include "mojo/common/common_type_converters.h" 12 #include "mojo/converters/base/base_type_converters.h"
13 #include "mojo/common/url_type_converters.h" 13 #include "mojo/converters/url/url_type_converters.h"
14 #include "mojo/services/network/net_adapters.h" 14 #include "mojo/services/network/net_adapters.h"
15 #include "mojo/services/network/network_context.h" 15 #include "mojo/services/network/network_context.h"
16 #include "net/base/elements_upload_data_stream.h" 16 #include "net/base/elements_upload_data_stream.h"
17 #include "net/base/io_buffer.h" 17 #include "net/base/io_buffer.h"
18 #include "net/base/load_flags.h" 18 #include "net/base/load_flags.h"
19 #include "net/base/upload_bytes_element_reader.h" 19 #include "net/base/upload_bytes_element_reader.h"
20 #include "net/http/http_response_headers.h" 20 #include "net/http/http_response_headers.h"
21 #include "net/url_request/redirect_info.h" 21 #include "net/url_request/redirect_info.h"
22 #include "net/url_request/url_request_context.h" 22 #include "net/url_request/url_request_context.h"
23 23
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 if ((*it)->id() == current_fetcher_id_) { 616 if ((*it)->id() == current_fetcher_id_) {
617 last_status_ = fetcher->QueryStatus(); 617 last_status_ = fetcher->QueryStatus();
618 last_status_->is_loading = false; 618 last_status_->is_loading = false;
619 } 619 }
620 body_fetchers_.erase(it); 620 body_fetchers_.erase(it);
621 if (body_fetchers_.empty() and !binding_.is_bound()) 621 if (body_fetchers_.empty() and !binding_.is_bound())
622 delete this; 622 delete this;
623 } 623 }
624 624
625 } // namespace mojo 625 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/network/url_loader_impl.h ('k') | mojo/services/network/url_loader_impl_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698