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

Side by Side Diff: content/shell/utility/shell_content_utility_client.h

Issue 2837813004: Sync the browser test host resolver with the network process before a test runs. (Closed)
Patch Set: review comments Created 3 years, 7 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/shell/BUILD.gn ('k') | content/shell/utility/shell_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 CONTENT_SHELL_UTILITY_SHELL_CONTENT_UTILITY_CLIENT_H_ 5 #ifndef CONTENT_SHELL_UTILITY_SHELL_CONTENT_UTILITY_CLIENT_H_
6 #define CONTENT_SHELL_UTILITY_SHELL_CONTENT_UTILITY_CLIENT_H_ 6 #define CONTENT_SHELL_UTILITY_SHELL_CONTENT_UTILITY_CLIENT_H_
7 7
8 #include "base/macros.h"
9 #include "content/public/common/network_service_test.mojom.h"
8 #include "content/public/utility/content_utility_client.h" 10 #include "content/public/utility/content_utility_client.h"
9 11
10 namespace content { 12 namespace content {
11 13
12 class ShellContentUtilityClient : public ContentUtilityClient { 14 class ShellContentUtilityClient : public ContentUtilityClient {
13 public: 15 public:
16 ShellContentUtilityClient();
14 ~ShellContentUtilityClient() override; 17 ~ShellContentUtilityClient() override;
15 18
16 // ContentUtilityClient: 19 // ContentUtilityClient:
17 void UtilityThreadStarted() override; 20 void UtilityThreadStarted() override;
18 void RegisterServices(StaticServiceMap* services) override; 21 void RegisterServices(StaticServiceMap* services) override;
22 void RegisterNetworkBinders(
23 service_manager::BinderRegistry* registry) override;
24
25 private:
26 void Create(mojom::NetworkServiceTestRequest request);
27
28 std::unique_ptr<mojom::NetworkServiceTest> network_service_test_;
29
30 DISALLOW_COPY_AND_ASSIGN(ShellContentUtilityClient);
19 }; 31 };
20 32
21 } // namespace content 33 } // namespace content
22 34
23 #endif // CONTENT_SHELL_UTILITY_SHELL_CONTENT_UTILITY_CLIENT_H_ 35 #endif // CONTENT_SHELL_UTILITY_SHELL_CONTENT_UTILITY_CLIENT_H_
OLDNEW
« no previous file with comments | « content/shell/BUILD.gn ('k') | content/shell/utility/shell_content_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698