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

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

Issue 1826403002: [Media Router] Moves mojo-specific code into mojo/ folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert change to media_router.mojom to fix compile 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
deleted file mode 100644
index 22a79544743ac5120c23e83c8794881f428a01f5..0000000000000000000000000000000000000000
--- a/chrome/browser/media/router/media_router_mojo_test.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_MOJO_TEST_H_
-#define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_MOJO_TEST_H_
-
-#include <string>
-
-#include "base/macros.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 "extensions/common/extension.h"
-#include "mojo/public/cpp/bindings/binding.h"
-#include "testing/gmock/include/gmock/gmock.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace media_router {
-
-class MediaRouterMojoImpl;
-class MessagePump;
-
-// Tests the API call flow between the MediaRouterMojoImpl and the Media Router
-// Mojo service in both directions.
-class MediaRouterMojoTest : public ::testing::Test {
- public:
- MediaRouterMojoTest();
- ~MediaRouterMojoTest() override;
-
- protected:
- void SetUp() override;
-
- void ProcessEventLoop();
-
- void ConnectProviderManagerService();
-
- const std::string& extension_id() const { return extension_->id(); }
-
- MediaRouterMojoImpl* router() const { return mock_media_router_.get(); }
-
- // Mock objects.
- MockMediaRouteProvider mock_media_route_provider_;
- testing::NiceMock<MockEventPageTracker> mock_event_page_tracker_;
-
- // Mojo proxy object for |mock_media_router_|
- media_router::interfaces::MediaRouterPtr media_router_proxy_;
-
- private:
- content::TestBrowserThreadBundle test_thread_bundle_;
- scoped_refptr<extensions::Extension> extension_;
- scoped_ptr<MediaRouterMojoImpl> mock_media_router_;
- scoped_ptr<mojo::Binding<interfaces::MediaRouteProvider>> binding_;
-
- DISALLOW_COPY_AND_ASSIGN(MediaRouterMojoTest);
-};
-
-} // namespace media_router
-
-#endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_MOJO_TEST_H_
« 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