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

Side by Side Diff: content/public/browser/utility_process_host.h

Issue 2832633002: Add PDF compositor service (Closed)
Patch Set: rebase 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_
7 7
8 #include "base/environment.h" 8 #include "base/environment.h"
9 #include "base/process/launch.h" 9 #include "base/process/launch.h"
10 #include "base/threading/thread.h" 10 #include "base/threading/thread.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 virtual void SetEnv(const base::EnvironmentMap& env) = 0; 78 virtual void SetEnv(const base::EnvironmentMap& env) = 0;
79 #endif 79 #endif
80 80
81 // Starts the utility process. 81 // Starts the utility process.
82 virtual bool Start() = 0; 82 virtual bool Start() = 0;
83 83
84 // Bind an interface exposed by the utility process. 84 // Bind an interface exposed by the utility process.
85 virtual void BindInterface(const std::string& interface_name, 85 virtual void BindInterface(const std::string& interface_name,
86 mojo::ScopedMessagePipeHandle interface_pipe) = 0; 86 mojo::ScopedMessagePipeHandle interface_pipe) = 0;
87 87
88 // Register mojo services that the utility process can use.
89 virtual void RegisterMojoServices() = 0;
90
88 // Set the name of the process to appear in the task manager. 91 // Set the name of the process to appear in the task manager.
89 virtual void SetName(const base::string16& name) = 0; 92 virtual void SetName(const base::string16& name) = 0;
93
94 protected:
95 class ConnectionFilterImpl;
jam 2017/04/28 15:49:10 why does this need to be here?
Wei Li 2017/04/29 04:35:18 Moved to Impl.
90 }; 96 };
91 97
92 }; // namespace content 98 }; // namespace content
93 99
94 #endif // CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_ 100 #endif // CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698