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

Side by Side Diff: third_party/libaddressinput/chromium/chrome_metadata_source.cc

Issue 1307643003: IWYU for base/memory/scoped_vector.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 4 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 "third_party/libaddressinput/chromium/chrome_metadata_source.h" 5 #include "third_party/libaddressinput/chromium/chrome_metadata_source.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/stl_util.h"
9 #include "net/base/io_buffer.h" 10 #include "net/base/io_buffer.h"
10 #include "net/base/load_flags.h" 11 #include "net/base/load_flags.h"
11 #include "net/base/net_errors.h" 12 #include "net/base/net_errors.h"
12 #include "net/http/http_status_code.h" 13 #include "net/http/http_status_code.h"
13 #include "net/url_request/url_fetcher.h" 14 #include "net/url_request/url_fetcher.h"
14 #include "net/url_request/url_fetcher_response_writer.h" 15 #include "net/url_request/url_fetcher_response_writer.h"
15 #include "url/gurl.h" 16 #include "url/gurl.h"
16 17
17 namespace autofill { 18 namespace autofill {
18 19
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 102
102 Request* request = new Request(key, fetcher.Pass(), downloaded); 103 Request* request = new Request(key, fetcher.Pass(), downloaded);
103 request->fetcher->SaveResponseWithWriter( 104 request->fetcher->SaveResponseWithWriter(
104 scoped_ptr<net::URLFetcherResponseWriter>( 105 scoped_ptr<net::URLFetcherResponseWriter>(
105 new UnownedStringWriter(&request->data))); 106 new UnownedStringWriter(&request->data)));
106 requests_[request->fetcher.get()] = request; 107 requests_[request->fetcher.get()] = request;
107 request->fetcher->Start(); 108 request->fetcher->Start();
108 } 109 }
109 110
110 } // namespace autofill 111 } // namespace autofill
OLDNEW
« no previous file with comments | « third_party/libaddressinput/chromium/chrome_metadata_source.h ('k') | tools/android/forwarder2/host_forwarder_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698