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

Side by Side Diff: chrome/browser/media/router/mock_media_router.h

Issue 2771413003: Move c/b/media/router/mojo/*.mojom to chrome/common/media_router/mojo/*.mojom (Closed)
Patch Set: Rebase Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MOCK_MEDIA_ROUTER_H_ 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MOCK_MEDIA_ROUTER_H_
6 #define CHROME_BROWSER_MEDIA_ROUTER_MOCK_MEDIA_ROUTER_H_ 6 #define CHROME_BROWSER_MEDIA_ROUTER_MOCK_MEDIA_ROUTER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "chrome/browser/media/router/issue.h"
14 #include "chrome/browser/media/router/media_route.h"
15 #include "chrome/browser/media/router/media_router_base.h" 13 #include "chrome/browser/media/router/media_router_base.h"
16 #include "chrome/browser/media/router/media_sink.h"
17 #include "chrome/browser/media/router/media_source.h"
18 #include "chrome/browser/media/router/mojo/media_route_controller.h" 14 #include "chrome/browser/media/router/mojo/media_route_controller.h"
15 #include "chrome/common/media_router/issue.h"
16 #include "chrome/common/media_router/media_route.h"
17 #include "chrome/common/media_router/media_sink.h"
18 #include "chrome/common/media_router/media_source.h"
19 #include "testing/gmock/include/gmock/gmock.h" 19 #include "testing/gmock/include/gmock/gmock.h"
20 #include "url/origin.h" 20 #include "url/origin.h"
21 21
22 namespace media_router { 22 namespace media_router {
23 23
24 // Media Router mock class. Used for testing purposes. 24 // Media Router mock class. Used for testing purposes.
25 class MockMediaRouter : public MediaRouterBase { 25 class MockMediaRouter : public MediaRouterBase {
26 public: 26 public:
27 MockMediaRouter(); 27 MockMediaRouter();
28 ~MockMediaRouter() override; 28 ~MockMediaRouter() override;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 private: 118 private:
119 base::CallbackList<void( 119 base::CallbackList<void(
120 const content::PresentationConnectionStateChangeInfo&)> 120 const content::PresentationConnectionStateChangeInfo&)>
121 connection_state_callbacks_; 121 connection_state_callbacks_;
122 }; 122 };
123 123
124 } // namespace media_router 124 } // namespace media_router
125 125
126 #endif // CHROME_BROWSER_MEDIA_ROUTER_MOCK_MEDIA_ROUTER_H_ 126 #endif // CHROME_BROWSER_MEDIA_ROUTER_MOCK_MEDIA_ROUTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698