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

Side by Side Diff: chromeos/network/network_connection_handler_unittest.cc

Issue 19468003: Use a direct include of the message_loop header in chromeos/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
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 "chromeos/network/network_connection_handler.h" 5 #include "chromeos/network/network_connection_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "chromeos/dbus/dbus_thread_manager.h" 10 #include "chromeos/dbus/dbus_thread_manager.h"
11 #include "chromeos/dbus/shill_manager_client.h" 11 #include "chromeos/dbus/shill_manager_client.h"
12 #include "chromeos/dbus/shill_service_client.h" 12 #include "chromeos/dbus/shill_service_client.h"
13 #include "chromeos/network/network_configuration_handler.h" 13 #include "chromeos/network/network_configuration_handler.h"
14 #include "chromeos/network/network_state_handler.h" 14 #include "chromeos/network/network_state_handler.h"
15 #include "chromeos/network/onc/onc_utils.h" 15 #include "chromeos/network/onc/onc_utils.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 #include "third_party/cros_system_api/dbus/service_constants.h" 17 #include "third_party/cros_system_api/dbus/service_constants.h"
18 18
19 namespace { 19 namespace {
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 NetworkConnectionHandlerDisconnectFailure) { 222 NetworkConnectionHandlerDisconnectFailure) {
223 Connect("no-network"); 223 Connect("no-network");
224 EXPECT_EQ(NetworkConnectionHandler::kErrorNotFound, GetResultAndReset()); 224 EXPECT_EQ(NetworkConnectionHandler::kErrorNotFound, GetResultAndReset());
225 225
226 EXPECT_TRUE(Configure(kConfigConnectable)); 226 EXPECT_TRUE(Configure(kConfigConnectable));
227 Disconnect("wifi0"); 227 Disconnect("wifi0");
228 EXPECT_EQ(NetworkConnectionHandler::kErrorNotConnected, GetResultAndReset()); 228 EXPECT_EQ(NetworkConnectionHandler::kErrorNotConnected, GetResultAndReset());
229 } 229 }
230 230
231 } // namespace chromeos 231 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/network/network_configuration_handler_unittest.cc ('k') | chromeos/network/network_device_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698