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

Side by Side Diff: content/browser/utility_process_host_impl.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_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 void ElevatePrivileges() override; 53 void ElevatePrivileges() override;
54 #endif 54 #endif
55 const ChildProcessData& GetData() override; 55 const ChildProcessData& GetData() override;
56 #if defined(OS_POSIX) 56 #if defined(OS_POSIX)
57 void SetEnv(const base::EnvironmentMap& env) override; 57 void SetEnv(const base::EnvironmentMap& env) override;
58 #endif 58 #endif
59 bool Start() override; 59 bool Start() override;
60 void BindInterface(const std::string& interface_name, 60 void BindInterface(const std::string& interface_name,
61 mojo::ScopedMessagePipeHandle interface_pipe) override; 61 mojo::ScopedMessagePipeHandle interface_pipe) override;
62 void SetName(const base::string16& name) override; 62 void SetName(const base::string16& name) override;
63 void RegisterMojoServices() override;
63 64
64 void set_child_flags(int flags) { child_flags_ = flags; } 65 void set_child_flags(int flags) { child_flags_ = flags; }
65 66
66 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) 67 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
67 // Launch the zygote early in the browser startup. 68 // Launch the zygote early in the browser startup.
68 static void EarlyZygoteLaunch(); 69 static void EarlyZygoteLaunch();
69 #endif // defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) 70 #endif // defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
70 71
71 private: 72 private:
72 // Starts a process if necessary. Returns true if it succeeded or a process 73 // Starts a process if necessary. Returns true if it succeeded or a process
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 120
120 // Used to vend weak pointers, and should always be declared last. 121 // Used to vend weak pointers, and should always be declared last.
121 base::WeakPtrFactory<UtilityProcessHostImpl> weak_ptr_factory_; 122 base::WeakPtrFactory<UtilityProcessHostImpl> weak_ptr_factory_;
122 123
123 DISALLOW_COPY_AND_ASSIGN(UtilityProcessHostImpl); 124 DISALLOW_COPY_AND_ASSIGN(UtilityProcessHostImpl);
124 }; 125 };
125 126
126 } // namespace content 127 } // namespace content
127 128
128 #endif // CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_ 129 #endif // CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698