| 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_
|
|
|