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