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

Side by Side Diff: google_apis/gcm/engine/connection_handler_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "google_apis/gcm/engine/connection_handler_impl.h" 5 #include "google_apis/gcm/engine/connection_handler_impl.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/message_loop/message_loop.h"
14 #include "base/run_loop.h" 15 #include "base/run_loop.h"
15 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
16 #include "base/test/test_timeouts.h" 17 #include "base/test/test_timeouts.h"
17 #include "google/protobuf/io/coded_stream.h" 18 #include "google/protobuf/io/coded_stream.h"
18 #include "google/protobuf/io/zero_copy_stream_impl_lite.h" 19 #include "google/protobuf/io/zero_copy_stream_impl_lite.h"
19 #include "google/protobuf/wire_format_lite.h" 20 #include "google/protobuf/wire_format_lite.h"
20 #include "google_apis/gcm/base/mcs_util.h" 21 #include "google_apis/gcm/base/mcs_util.h"
21 #include "google_apis/gcm/base/socket_stream.h" 22 #include "google_apis/gcm/base/socket_stream.h"
22 #include "google_apis/gcm/protocol/mcs.pb.h" 23 #include "google_apis/gcm/protocol/mcs.pb.h"
23 #include "net/base/ip_address.h" 24 #include "net/base/ip_address.h"
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 WaitForMessage(); // The login send. 905 WaitForMessage(); // The login send.
905 WaitForMessage(); // The login response. 906 WaitForMessage(); // The login response.
906 received_message.reset(); 907 received_message.reset();
907 WaitForMessage(); // The invalid message. 908 WaitForMessage(); // The invalid message.
908 EXPECT_FALSE(received_message.get()); 909 EXPECT_FALSE(received_message.get());
909 EXPECT_EQ(net::ERR_FAILED, last_error()); 910 EXPECT_EQ(net::ERR_FAILED, last_error());
910 } 911 }
911 912
912 } // namespace 913 } // namespace
913 } // namespace gcm 914 } // namespace gcm
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698