OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/fetcher/network_fetcher.h" | 5 #include "mojo/fetcher/network_fetcher.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include <utility> | 9 #include <utility> |
8 | 10 |
9 #include "base/bind.h" | 11 #include "base/bind.h" |
10 #include "base/command_line.h" | 12 #include "base/command_line.h" |
11 #include "base/files/file.h" | 13 #include "base/files/file.h" |
12 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
13 #include "base/files/file_util.h" | 15 #include "base/files/file_util.h" |
14 #include "base/message_loop/message_loop.h" | 16 #include "base/message_loop/message_loop.h" |
15 #include "base/process/process.h" | 17 #include "base/process/process.h" |
16 #include "base/stl_util.h" | 18 #include "base/stl_util.h" |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 loader_callback_.Run(nullptr); | 245 loader_callback_.Run(nullptr); |
244 return; | 246 return; |
245 } | 247 } |
246 | 248 |
247 response_ = std::move(response); | 249 response_ = std::move(response); |
248 loader_callback_.Run(std::move(owner)); | 250 loader_callback_.Run(std::move(owner)); |
249 } | 251 } |
250 | 252 |
251 } // namespace fetcher | 253 } // namespace fetcher |
252 } // namespace mojo | 254 } // namespace mojo |
OLD | NEW |