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

Unified Diff: chrome/browser/media/router/media_router_mojo_test.h

Issue 1846673002: [Media Router] Conditionally enable mDNS on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Patch-up newly-added test. Created 4 years, 9 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
Index: chrome/browser/media/router/media_router_mojo_test.h
diff --git a/chrome/browser/media/router/media_router_mojo_test.h b/chrome/browser/media/router/media_router_mojo_test.h
index e56aa7cad2e5ac0aa4dbe19f6ba251c322af0d68..2d558dc5d0d954052a8c73f8d49efe94699c3cff 100644
--- a/chrome/browser/media/router/media_router_mojo_test.h
+++ b/chrome/browser/media/router/media_router_mojo_test.h
@@ -8,11 +8,13 @@
#include <string>
#include "base/macros.h"
-#include "base/message_loop/message_loop.h"
+#include "base/memory/ref_counted.h"
+#include "base/run_loop.h"
#include "chrome/browser/media/router/media_router_mojo_impl.h"
#include "chrome/browser/media/router/mock_media_router.h"
#include "chrome/browser/media/router/test_helper.h"
#include "chrome/test/base/testing_profile.h"
+#include "content/public/test/test_browser_thread_bundle.h"
#include "mojo/public/cpp/bindings/binding.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -48,10 +50,10 @@ class MediaRouterMojoTest : public ::testing::Test {
media_router::interfaces::MediaRouterPtr media_router_proxy_;
private:
+ content::TestBrowserThreadBundle test_thread_bundle_;
std::string extension_id_;
scoped_ptr<MediaRouterMojoImpl> mock_media_router_;
scoped_ptr<mojo::Binding<interfaces::MediaRouteProvider>> binding_;
- base::MessageLoop message_loop_;
DISALLOW_COPY_AND_ASSIGN(MediaRouterMojoTest);
};
« no previous file with comments | « chrome/browser/media/router/media_router_mojo_impl_unittest.cc ('k') | chrome/browser/media/router/media_router_mojo_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698