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

Side by Side Diff: device/bluetooth/bluetooth_chromeos_unittest.cc

Issue 19607005: Use a direct include of the message_loop header in dbus/, device/, extensions/, google_apis/, gpu/,… (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 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 "base/message_loop.h" 5 #include "base/message_loop/message_loop.h"
6 #include "base/strings/utf_string_conversions.h" 6 #include "base/strings/utf_string_conversions.h"
7 #include "chromeos/dbus/fake_bluetooth_adapter_client.h" 7 #include "chromeos/dbus/fake_bluetooth_adapter_client.h"
8 #include "chromeos/dbus/fake_bluetooth_device_client.h" 8 #include "chromeos/dbus/fake_bluetooth_device_client.h"
9 #include "chromeos/dbus/mock_dbus_thread_manager_without_gmock.h" 9 #include "chromeos/dbus/mock_dbus_thread_manager_without_gmock.h"
10 #include "dbus/object_path.h" 10 #include "dbus/object_path.h"
11 #include "device/bluetooth/bluetooth_adapter.h" 11 #include "device/bluetooth/bluetooth_adapter.h"
12 #include "device/bluetooth/bluetooth_adapter_chromeos.h" 12 #include "device/bluetooth/bluetooth_adapter_chromeos.h"
13 #include "device/bluetooth/bluetooth_adapter_factory.h" 13 #include "device/bluetooth/bluetooth_adapter_factory.h"
14 #include "device/bluetooth/bluetooth_device.h" 14 #include "device/bluetooth/bluetooth_device.h"
15 #include "device/bluetooth/bluetooth_device_chromeos.h" 15 #include "device/bluetooth/bluetooth_device_chromeos.h"
(...skipping 2002 matching lines...) Expand 10 before | Expand all | Expand 10 after
2018 EXPECT_FALSE(device->IsConnected()); 2018 EXPECT_FALSE(device->IsConnected());
2019 EXPECT_FALSE(device->IsConnecting()); 2019 EXPECT_FALSE(device->IsConnecting());
2020 EXPECT_FALSE(device->IsPaired()); 2020 EXPECT_FALSE(device->IsPaired());
2021 2021
2022 // Pairing dialog should be dismissed 2022 // Pairing dialog should be dismissed
2023 EXPECT_EQ(1, pairing_delegate.call_count_); 2023 EXPECT_EQ(1, pairing_delegate.call_count_);
2024 EXPECT_EQ(1, pairing_delegate.dismiss_count_); 2024 EXPECT_EQ(1, pairing_delegate.dismiss_count_);
2025 } 2025 }
2026 2026
2027 } // namespace chromeos 2027 } // namespace chromeos
OLDNEW
« no previous file with comments | « dbus/signal_sender_verification_unittest.cc ('k') | device/bluetooth/bluetooth_profile_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698