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

Side by Side Diff: chrome/browser/media/router/mojo/media_router_mojo_test.h

Issue 2837363002: [Media Router] Use DialMediaSinkService in MediaRouterMojoImpl (Closed)
Patch Set: resolve code review comments from Derek Created 3 years, 7 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_MOJO_MEDIA_ROUTER_MOJO_TEST_H_ 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTER_MOJO_TEST_H_
6 #define CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTER_MOJO_TEST_H_ 6 #define CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTER_MOJO_TEST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 testing::NiceMock<MockEventPageTracker> mock_event_page_tracker_; 215 testing::NiceMock<MockEventPageTracker> mock_event_page_tracker_;
216 216
217 // Mojo proxy object for |mock_media_router_| 217 // Mojo proxy object for |mock_media_router_|
218 media_router::mojom::MediaRouterPtr media_router_proxy_; 218 media_router::mojom::MediaRouterPtr media_router_proxy_;
219 219
220 RegisterMediaRouteProviderHandler provide_handler_; 220 RegisterMediaRouteProviderHandler provide_handler_;
221 221
222 private: 222 private:
223 content::TestBrowserThreadBundle test_thread_bundle_; 223 content::TestBrowserThreadBundle test_thread_bundle_;
224 scoped_refptr<extensions::Extension> extension_; 224 scoped_refptr<extensions::Extension> extension_;
225 TestingProfile profile_;
225 std::unique_ptr<MediaRouterMojoImpl> mock_media_router_; 226 std::unique_ptr<MediaRouterMojoImpl> mock_media_router_;
226 std::unique_ptr<mojo::Binding<mojom::MediaRouteProvider>> binding_; 227 std::unique_ptr<mojo::Binding<mojom::MediaRouteProvider>> binding_;
227 228
228 DISALLOW_COPY_AND_ASSIGN(MediaRouterMojoTest); 229 DISALLOW_COPY_AND_ASSIGN(MediaRouterMojoTest);
229 }; 230 };
230 231
231 } // namespace media_router 232 } // namespace media_router
232 233
233 #endif // CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTER_MOJO_TEST_H_ 234 #endif // CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTER_MOJO_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698