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

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

Issue 2697463002: Convert utility process extension Unpacker IPC to mojo (Closed)
Patch Set: Set the IPC enum traits limit to extensions::Manifest::NUM_LOCATIONS - 1. 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/unpacker.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() { 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
OLDNEW
« no previous file with comments | « extensions/test/test_content_utility_client.h ('k') | extensions/utility/unpacker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698