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

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

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 years, 7 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 (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_impl.h" 5 #include "net/url_request/url_fetcher_impl.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
11 #include <limits> 11 #include <limits>
12 #include <memory> 12 #include <memory>
13 #include <string> 13 #include <string>
14 14
15 #include "base/bind.h" 15 #include "base/bind.h"
16 #include "base/files/file_path.h" 16 #include "base/files/file_path.h"
17 #include "base/files/file_util.h" 17 #include "base/files/file_util.h"
18 #include "base/files/scoped_temp_dir.h" 18 #include "base/files/scoped_temp_dir.h"
19 #include "base/location.h" 19 #include "base/location.h"
20 #include "base/macros.h" 20 #include "base/macros.h"
21 #include "base/memory/ptr_util.h" 21 #include "base/memory/ptr_util.h"
22 #include "base/message_loop/message_loop.h"
22 #include "base/path_service.h" 23 #include "base/path_service.h"
23 #include "base/run_loop.h" 24 #include "base/run_loop.h"
24 #include "base/single_thread_task_runner.h" 25 #include "base/single_thread_task_runner.h"
25 #include "base/strings/string_util.h" 26 #include "base/strings/string_util.h"
26 #include "base/strings/stringprintf.h" 27 #include "base/strings/stringprintf.h"
27 #include "base/synchronization/waitable_event.h" 28 #include "base/synchronization/waitable_event.h"
28 #include "base/task_scheduler/post_task.h" 29 #include "base/task_scheduler/post_task.h"
29 #include "base/test/scoped_task_environment.h" 30 #include "base/test/scoped_task_environment.h"
30 #include "base/test/test_timeouts.h" 31 #include "base/test/test_timeouts.h"
31 #include "base/threading/platform_thread.h" 32 #include "base/threading/platform_thread.h"
(...skipping 1540 matching lines...) Expand 10 before | Expand all | Expand 10 after
1572 EXPECT_EQ(-1, delegate.fetcher()->GetResponseCode()); 1573 EXPECT_EQ(-1, delegate.fetcher()->GetResponseCode());
1573 EXPECT_FALSE(delegate.fetcher()->GetResponseHeaders()); 1574 EXPECT_FALSE(delegate.fetcher()->GetResponseHeaders());
1574 std::string data; 1575 std::string data;
1575 EXPECT_TRUE(delegate.fetcher()->GetResponseAsString(&data)); 1576 EXPECT_TRUE(delegate.fetcher()->GetResponseAsString(&data));
1576 EXPECT_TRUE(data.empty()); 1577 EXPECT_TRUE(data.empty());
1577 } 1578 }
1578 1579
1579 } // namespace 1580 } // namespace
1580 1581
1581 } // namespace net 1582 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698