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

Side by Side Diff: chromeos/disks/disk_mount_manager_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
« no previous file with comments | « chromeos/dbus/sms_client.cc ('k') | chromeos/disks/mock_disk_mount_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/message_loop.h" 6 #include "base/message_loop/message_loop.h"
7 #include "chromeos/dbus/fake_cros_disks_client.h" 7 #include "chromeos/dbus/fake_cros_disks_client.h"
8 #include "chromeos/dbus/mock_dbus_thread_manager_without_gmock.h" 8 #include "chromeos/dbus/mock_dbus_thread_manager_without_gmock.h"
9 #include "chromeos/disks/disk_mount_manager.h" 9 #include "chromeos/disks/disk_mount_manager.h"
10 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 using chromeos::disks::DiskMountManager; 13 using chromeos::disks::DiskMountManager;
14 using chromeos::CrosDisksClient; 14 using chromeos::CrosDisksClient;
15 using chromeos::DBusThreadManager; 15 using chromeos::DBusThreadManager;
16 using chromeos::FakeCrosDisksClient; 16 using chromeos::FakeCrosDisksClient;
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 EXPECT_EQ("vfat", 625 EXPECT_EQ("vfat",
626 fake_cros_disks_client_->last_format_device_filesystem()); 626 fake_cros_disks_client_->last_format_device_filesystem());
627 627
628 // Simulate cros_disks reporting success. 628 // Simulate cros_disks reporting success.
629 fake_cros_disks_client_->SendMountEvent( 629 fake_cros_disks_client_->SendMountEvent(
630 chromeos::CROS_DISKS_FORMATTING_FINISHED, "/device/source_path"); 630 chromeos::CROS_DISKS_FORMATTING_FINISHED, "/device/source_path");
631 } 631 }
632 632
633 } // namespace 633 } // namespace
634 634
OLDNEW
« no previous file with comments | « chromeos/dbus/sms_client.cc ('k') | chromeos/disks/mock_disk_mount_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698