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

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

Issue 10919051: Move device notification impl out of chrome/browser/media_gallery (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: modify for chromeos and win Created 8 years, 3 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 (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/system_monitor/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/media_gallery/media_storage_util.h" 17 #include "chrome/browser/system_monitor/media_storage_util.h"
18 #include "chromeos/disks/mock_disk_mount_manager.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;
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 // Unsupported file system. 232 // Unsupported file system.
233 mount_info.mount_type = MOUNT_TYPE_DEVICE; 233 mount_info.mount_type = MOUNT_TYPE_DEVICE;
234 mount_info.mount_condition = disks::MOUNT_CONDITION_UNSUPPORTED_FILESYSTEM; 234 mount_info.mount_condition = disks::MOUNT_CONDITION_UNSUPPORTED_FILESYSTEM;
235 EXPECT_CALL(observer(), OnRemovableStorageAttached(_, _, _)).Times(0); 235 EXPECT_CALL(observer(), OnRemovableStorageAttached(_, _, _)).Times(0);
236 MountDevice(MOUNT_ERROR_NONE, mount_info, kUniqueId); 236 MountDevice(MOUNT_ERROR_NONE, mount_info, kUniqueId);
237 } 237 }
238 238
239 } // namespace 239 } // namespace
240 240
241 } // namespace chrome 241 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698