1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
headless / lib / utility / headless_content_utility_client.h [blame]
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef HEADLESS_LIB_UTILITY_HEADLESS_CONTENT_UTILITY_CLIENT_H_
#define HEADLESS_LIB_UTILITY_HEADLESS_CONTENT_UTILITY_CLIENT_H_
#include "content/public/utility/content_utility_client.h"
#include "headless/public/headless_export.h"
namespace headless {
class HEADLESS_EXPORT HeadlessContentUtilityClient
: public content::ContentUtilityClient {
public:
HeadlessContentUtilityClient();
HeadlessContentUtilityClient(const HeadlessContentUtilityClient&) = delete;
HeadlessContentUtilityClient& operator=(const HeadlessContentUtilityClient&) =
delete;
~HeadlessContentUtilityClient() override;
private:
// content::ContentUtilityClient:
void RegisterMainThreadServices(mojo::ServiceFactory& services) override;
};
} // namespace headless
#endif // HEADLESS_LIB_UTILITY_HEADLESS_CONTENT_UTILITY_CLIENT_H_