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/at_exit.h" | 11 #include "base/at_exit.h" |
10 #include "base/auto_reset.h" | 12 #include "base/auto_reset.h" |
11 #include "base/bind.h" | 13 #include "base/bind.h" |
12 #include "base/logging.h" | 14 #include "base/logging.h" |
13 #include "base/macros.h" | 15 #include "base/macros.h" |
14 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
15 #include "base/message_loop/message_loop.h" | 17 #include "base/message_loop/message_loop.h" |
16 #include "base/run_loop.h" | 18 #include "base/run_loop.h" |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 TestFetchURL(k504Request, true, 504u); | 172 TestFetchURL(k504Request, true, 504u); |
171 } | 173 } |
172 | 174 |
173 TEST_F(NetworkFetcherTest, FetchFailed) { | 175 TEST_F(NetworkFetcherTest, FetchFailed) { |
174 TestFetchURL(kErrorRequest, false, 0u); | 176 TestFetchURL(kErrorRequest, false, 0u); |
175 } | 177 } |
176 | 178 |
177 } // namespace | 179 } // namespace |
178 } // namespace fetcher | 180 } // namespace fetcher |
179 } // namespace mojo | 181 } // namespace mojo |
OLD | NEW |