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

Side by Side Diff: chrome/browser/media_gallery/media_device_notifications_chromeos_unittest.cc

Issue 10874067: chromeos: Move src/chrome/browser/chromeos/disks to src/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 // chromeos::MediaDeviceNotifications unit tests. 5 // chromeos::MediaDeviceNotifications unit tests.
6 6
7 #include "chrome/browser/media_gallery/media_device_notifications_chromeos.h" 7 #include "chrome/browser/media_gallery/media_device_notifications_chromeos.h"
8 8
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "base/scoped_temp_dir.h" 13 #include "base/scoped_temp_dir.h"
14 #include "base/system_monitor/system_monitor.h" 14 #include "base/system_monitor/system_monitor.h"
15 #include "base/test/mock_devices_changed_observer.h" 15 #include "base/test/mock_devices_changed_observer.h"
16 #include "base/utf_string_conversions.h" 16 #include "base/utf_string_conversions.h"
17 #include "chrome/browser/chromeos/disks/mock_disk_mount_manager.h"
18 #include "chrome/browser/media_gallery/media_storage_util.h" 17 #include "chrome/browser/media_gallery/media_storage_util.h"
18 #include "chromeos/disks/mock_disk_mount_manager.h"
19 #include "content/public/test/test_browser_thread.h" 19 #include "content/public/test/test_browser_thread.h"
20 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
21 21
22 namespace chromeos { 22 namespace chromeos {
23 23
24 namespace { 24 namespace {
25 25
26 using content::BrowserThread; 26 using content::BrowserThread;
27 using disks::DiskMountManager; 27 using disks::DiskMountManager;
28 using testing::_; 28 using testing::_;
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 // Unsupported file system. 230 // Unsupported file system.
231 mount_info.mount_type = MOUNT_TYPE_DEVICE; 231 mount_info.mount_type = MOUNT_TYPE_DEVICE;
232 mount_info.mount_condition = disks::MOUNT_CONDITION_UNSUPPORTED_FILESYSTEM; 232 mount_info.mount_condition = disks::MOUNT_CONDITION_UNSUPPORTED_FILESYSTEM;
233 EXPECT_CALL(observer(), OnMediaDeviceAttached(_, _, _)).Times(0); 233 EXPECT_CALL(observer(), OnMediaDeviceAttached(_, _, _)).Times(0);
234 MountDevice(MOUNT_ERROR_NONE, mount_info, kUniqueId); 234 MountDevice(MOUNT_ERROR_NONE, mount_info, kUniqueId);
235 } 235 }
236 236
237 } // namespace 237 } // namespace
238 238
239 } // namespace chrome 239 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698