[MacViews] Show comboboxes with a native NSMenu
[chromium-blink-merge.git] / content / utility / utility_process_control_impl.h
blobf57dbe6ebf313788f825305376aa74da1897c3e2
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_UTILITY_UTILITY_PROCESS_CONTROL_IMPL_H_
6 #define CONTENT_UTILITY_UTILITY_PROCESS_CONTROL_IMPL_H_
8 #include "base/macros.h"
9 #include "content/child/process_control_impl.h"
11 namespace content {
13 // Customization of ProcessControlImpl for the utility process. Exposed to the
14 // browser via the utility process's ServiceRegistry.
15 class UtilityProcessControlImpl : public ProcessControlImpl {
16 public:
17 UtilityProcessControlImpl();
18 ~UtilityProcessControlImpl() override;
20 // ProcessControlImpl:
21 void RegisterApplicationLoaders(URLToLoaderMap* url_to_loader_map) override;
23 private:
24 void OnLoadFailed() override;
26 DISALLOW_COPY_AND_ASSIGN(UtilityProcessControlImpl);
29 } // namespace content
31 #endif // CONTENT_UTILITY_UTILITY_PROCESS_CONTROL_IMPL_H_