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

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

Issue 1310103002: Update mojo sdk to rev c02a28868825edfa57ab77947b8cb15e741c5598 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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_MEDIA_ROUTER_MOJO_TEST_H_ 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_MOJO_TEST_H_
6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_MOJO_TEST_H_ 6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_MOJO_TEST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "chrome/browser/media/router/media_router_mojo_impl.h" 11 #include "chrome/browser/media/router/media_router_mojo_impl.h"
12 #include "chrome/browser/media/router/mock_media_router.h" 12 #include "chrome/browser/media/router/mock_media_router.h"
13 #include "chrome/browser/media/router/test_helper.h" 13 #include "chrome/browser/media/router/test_helper.h"
14 #include "chrome/test/base/testing_profile.h" 14 #include "chrome/test/base/testing_profile.h"
15 #include "mojo/message_pump/message_pump_mojo.h" 15 #include "mojo/message_pump/message_pump_mojo.h"
16 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h"
18 19
19 namespace media_router { 20 namespace media_router {
20 21
21 class MediaRouterMojoImpl; 22 class MediaRouterMojoImpl;
22 23
23 // Tests the API call flow between the MediaRouterMojoImpl and the Media Router 24 // Tests the API call flow between the MediaRouterMojoImpl and the Media Router
24 // Mojo service in both directions. 25 // Mojo service in both directions.
25 class MediaRouterMojoTest : public ::testing::Test { 26 class MediaRouterMojoTest : public ::testing::Test {
26 public: 27 public:
27 MediaRouterMojoTest(); 28 MediaRouterMojoTest();
(...skipping 22 matching lines...) Expand all
50 std::string extension_id_; 51 std::string extension_id_;
51 scoped_ptr<MediaRouterMojoImpl> mock_media_router_; 52 scoped_ptr<MediaRouterMojoImpl> mock_media_router_;
52 scoped_ptr<mojo::Binding<interfaces::MediaRouteProvider>> binding_; 53 scoped_ptr<mojo::Binding<interfaces::MediaRouteProvider>> binding_;
53 54
54 DISALLOW_COPY_AND_ASSIGN(MediaRouterMojoTest); 55 DISALLOW_COPY_AND_ASSIGN(MediaRouterMojoTest);
55 }; 56 };
56 57
57 } // namespace media_router 58 } // namespace media_router
58 59
59 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_MOJO_TEST_H_ 60 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_MOJO_TEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/media/router/media_router_mojo_impl.h ('k') | components/devtools_service/devtools_http_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698