1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVICE_WEBRTC_DEVTOOLS_BRIDGE_CLIENT_BROWSERTEST_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_WEBRTC_DEVTOOLS_BRIDGE_CLIENT_BROWSERTEST_H_
8 #include "chrome/browser/signin/fake_signin_manager.h"
9 #include "chrome/test/base/web_ui_browser_test.h"
11 class ProfileOAuth2TokenService
;
14 class WebUIMessageHandler
;
17 class DevToolsBridgeClientBrowserTest
: public WebUIBrowserTest
{
19 DevToolsBridgeClientBrowserTest();
20 ~DevToolsBridgeClientBrowserTest() override
;
22 // InProcessBrowserTest overrides.
23 void SetUpOnMainThread() override
;
24 void TearDownOnMainThread() override
;
25 content::WebUIMessageHandler
* GetMockMessageHandler() override
;
28 class DevToolsBridgeClientMock
;
32 scoped_ptr
<FakeSigninManagerForTesting
> fake_signin_manager_
;
33 scoped_ptr
<ProfileOAuth2TokenService
> fake_token_service_
;
34 base::WeakPtr
<DevToolsBridgeClientMock
> client_mock_
;
35 scoped_ptr
<MessageHandler
> handler_
;
36 std::map
<int, GCDApiFlowMock
*> flows_
;
40 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_WEBRTC_DEVTOOLS_BRIDGE_CLIENT_BROWSERTEST_H_