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

Side by Side Diff: chrome/browser/system_monitor/media_device_notifications_utils_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 #include "chrome/browser/media_gallery/media_device_notifications_utils.h" 5 #include "chrome/browser/system_monitor/media_device_notifications_utils.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/scoped_temp_dir.h" 10 #include "base/scoped_temp_dir.h"
11 #include "content/public/test/test_browser_thread.h" 11 #include "content/public/test/test_browser_thread.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 namespace chrome { 14 namespace chrome {
15 15
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // Create a dummy mount point without DCIM Directory. 100 // Create a dummy mount point without DCIM Directory.
101 FilePath mount_point(CreateMountPoint(false)); 101 FilePath mount_point(CreateMountPoint(false));
102 BrowserThread::PostTask( 102 BrowserThread::PostTask(
103 BrowserThread::FILE, FROM_HERE, 103 BrowserThread::FILE, FROM_HERE,
104 base::Bind(&MediaDeviceNotificationUtilsTest::checkDeviceType, 104 base::Bind(&MediaDeviceNotificationUtilsTest::checkDeviceType,
105 base::Unretained(this), mount_point.value(), false)); 105 base::Unretained(this), mount_point.value(), false));
106 message_loop_.RunAllPending(); 106 message_loop_.RunAllPending();
107 } 107 }
108 108
109 } // namespace chrome 109 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698