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

Unified Diff: chrome/browser/media_gallery/media_device_notifications_linux_unittest.cc

Issue 10069007: Media Gallery: Move MediaDeviceNotificationsLinux from content to chrome. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: clang Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/media_gallery/media_device_notifications_linux.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media_gallery/media_device_notifications_linux_unittest.cc
===================================================================
--- chrome/browser/media_gallery/media_device_notifications_linux_unittest.cc (revision 131949)
+++ chrome/browser/media_gallery/media_device_notifications_linux_unittest.cc (working copy)
@@ -4,7 +4,7 @@
// MediaDeviceNotificationsLinux unit tests.
-#include "content/browser/media_device_notifications_linux.h"
+#include "chrome/browser/media_gallery/media_device_notifications_linux.h"
#include <mntent.h>
#include <stdio.h>
@@ -18,10 +18,10 @@
#include "base/scoped_temp_dir.h"
#include "base/system_monitor/system_monitor.h"
#include "base/test/mock_devices_changed_observer.h"
-#include "content/browser/browser_thread_impl.h"
+#include "content/test/test_browser_thread.h"
#include "testing/gtest/include/gtest/gtest.h"
-namespace content {
+namespace chrome {
namespace {
@@ -95,7 +95,7 @@
MediaDeviceNotificationsLinuxTest()
: message_loop_(MessageLoop::TYPE_IO),
- file_thread_(BrowserThread::FILE, &message_loop_) {
+ file_thread_(content::BrowserThread::FILE, &message_loop_) {
}
virtual ~MediaDeviceNotificationsLinuxTest() {}
@@ -217,7 +217,7 @@
// The message loop and file thread to run tests on.
MessageLoop message_loop_;
- BrowserThreadImpl file_thread_;
+ content::TestBrowserThread file_thread_;
// SystemMonitor and DevicesChangedObserver to hook together to test.
base::SystemMonitor system_monitor_;
@@ -393,4 +393,4 @@
} // namespace
-} // namespace content
+} // namespace chrome
« no previous file with comments | « chrome/browser/media_gallery/media_device_notifications_linux.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698