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

Side by Side Diff: content/browser/utility_process_host_impl.h

Issue 2201183003: Remove outgoing interface registry on RPH (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 void SetExposedDir(const base::FilePath& dir) override; 51 void SetExposedDir(const base::FilePath& dir) override;
52 void DisableSandbox() override; 52 void DisableSandbox() override;
53 #if defined(OS_WIN) 53 #if defined(OS_WIN)
54 void ElevatePrivileges() override; 54 void ElevatePrivileges() override;
55 #endif 55 #endif
56 const ChildProcessData& GetData() override; 56 const ChildProcessData& GetData() override;
57 #if defined(OS_POSIX) 57 #if defined(OS_POSIX)
58 void SetEnv(const base::EnvironmentMap& env) override; 58 void SetEnv(const base::EnvironmentMap& env) override;
59 #endif 59 #endif
60 bool Start() override; 60 bool Start() override;
61 shell::InterfaceRegistry* GetInterfaceRegistry() override;
62 shell::InterfaceProvider* GetRemoteInterfaces() override; 61 shell::InterfaceProvider* GetRemoteInterfaces() override;
63 void SetName(const base::string16& name) override; 62 void SetName(const base::string16& name) override;
64 63
65 void set_child_flags(int flags) { child_flags_ = flags; } 64 void set_child_flags(int flags) { child_flags_ = flags; }
66 65
67 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) 66 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
68 // Launch the zygote early in the browser startup. 67 // Launch the zygote early in the browser startup.
69 static void EarlyZygoteLaunch(); 68 static void EarlyZygoteLaunch();
70 #endif // defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) 69 #endif // defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
71 70
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 124
126 // Used to vend weak pointers, and should always be declared last. 125 // Used to vend weak pointers, and should always be declared last.
127 base::WeakPtrFactory<UtilityProcessHostImpl> weak_ptr_factory_; 126 base::WeakPtrFactory<UtilityProcessHostImpl> weak_ptr_factory_;
128 127
129 DISALLOW_COPY_AND_ASSIGN(UtilityProcessHostImpl); 128 DISALLOW_COPY_AND_ASSIGN(UtilityProcessHostImpl);
130 }; 129 };
131 130
132 } // namespace content 131 } // namespace content
133 132
134 #endif // CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_ 133 #endif // CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/service_worker/embedded_worker_test_helper.cc ('k') | content/browser/utility_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698