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

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

Issue 2810343002: Convert UtilityThread/Clients to add ConnectionFilters instead of using ChildThread's InterfaceRegi… (Closed)
Patch Set: . Created 3 years, 8 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 | « content/utility/utility_thread_impl.cc ('k') | extensions/test/test_content_utility_client.cc » ('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 #ifndef EXTENSIONS_TEST_TEST_CONTENT_UTILITY_CLIENT_H_ 5 #ifndef EXTENSIONS_TEST_TEST_CONTENT_UTILITY_CLIENT_H_
6 #define EXTENSIONS_TEST_TEST_CONTENT_UTILITY_CLIENT_H_ 6 #define EXTENSIONS_TEST_TEST_CONTENT_UTILITY_CLIENT_H_
7 7
8 #include "content/public/utility/content_utility_client.h" 8 #include "content/public/utility/content_utility_client.h"
9 #include "extensions/utility/utility_handler.h" 9 #include "extensions/utility/utility_handler.h"
10 10
11 namespace extensions { 11 namespace extensions {
12 12
13 class TestContentUtilityClient : public content::ContentUtilityClient { 13 class TestContentUtilityClient : public content::ContentUtilityClient {
14 public: 14 public:
15 TestContentUtilityClient(); 15 TestContentUtilityClient();
16 ~TestContentUtilityClient() override; 16 ~TestContentUtilityClient() override;
17 17
18 // content::ContentUtilityClient: 18 // content::ContentUtilityClient:
19 void UtilityThreadStarted() override; 19 void UtilityThreadStarted() override;
20 void ExposeInterfacesToBrowser(
21 service_manager::InterfaceRegistry* registry) override;
22 }; 20 };
23 21
24 } // namespace extensions 22 } // namespace extensions
25 23
26 #endif // EXTENSIONS_TEST_TEST_CONTENT_UTILITY_CLIENT_H_ 24 #endif // EXTENSIONS_TEST_TEST_CONTENT_UTILITY_CLIENT_H_
OLDNEW
« no previous file with comments | « content/utility/utility_thread_impl.cc ('k') | extensions/test/test_content_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698