OLD | NEW |
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 #include "extensions/test/test_content_utility_client.h" | 5 #include "extensions/test/test_content_utility_client.h" |
6 | 6 |
7 namespace extensions { | 7 namespace extensions { |
8 | 8 |
9 TestContentUtilityClient::TestContentUtilityClient() = default; | 9 TestContentUtilityClient::TestContentUtilityClient() = default; |
10 | 10 |
11 TestContentUtilityClient::~TestContentUtilityClient() = default; | 11 TestContentUtilityClient::~TestContentUtilityClient() = default; |
12 | 12 |
13 void TestContentUtilityClient::UtilityThreadStarted() { | 13 void TestContentUtilityClient::UtilityThreadStarted() { |
14 UtilityHandler::UtilityThreadStarted(); | 14 utility_handler::UtilityThreadStarted(); |
15 } | 15 } |
16 | 16 |
17 void TestContentUtilityClient::ExposeInterfacesToBrowser( | 17 void TestContentUtilityClient::ExposeInterfacesToBrowser( |
18 service_manager::InterfaceRegistry* registry) { | 18 service_manager::InterfaceRegistry* registry) { |
19 UtilityHandler::ExposeInterfacesToBrowser(registry, false); | 19 utility_handler::ExposeInterfacesToBrowser(registry, false); |
20 } | |
21 | |
22 bool TestContentUtilityClient::OnMessageReceived(const IPC::Message& message) { | |
23 return utility_handler_.OnMessageReceived(message); | |
24 } | 20 } |
25 | 21 |
26 } // namespace extensions | 22 } // namespace extensions |
OLD | NEW |