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

Side by Side Diff: extensions/test/test_content_utility_client.cc

Issue 2699663003: Convert utility process extension ParseUpdate IPC to mojo (Closed)
Patch Set: Extensions review comments. Created 3 years, 9 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
« no previous file with comments | « extensions/test/test_content_utility_client.h ('k') | extensions/utility/utility_handler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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
OLDNEW
« no previous file with comments | « extensions/test/test_content_utility_client.h ('k') | extensions/utility/utility_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698