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

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

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . Created 4 years, 2 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 void SetExposedDir(const base::FilePath& dir) override; 50 void SetExposedDir(const base::FilePath& dir) override;
51 void DisableSandbox() override; 51 void DisableSandbox() override;
52 #if defined(OS_WIN) 52 #if defined(OS_WIN)
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 shell::InterfaceProvider* GetRemoteInterfaces() override; 60 service_manager::InterfaceProvider* GetRemoteInterfaces() override;
61 void SetName(const base::string16& name) override; 61 void SetName(const base::string16& name) override;
62 62
63 void set_child_flags(int flags) { child_flags_ = flags; } 63 void set_child_flags(int flags) { child_flags_ = flags; }
64 64
65 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) 65 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
66 // Launch the zygote early in the browser startup. 66 // Launch the zygote early in the browser startup.
67 static void EarlyZygoteLaunch(); 67 static void EarlyZygoteLaunch();
68 #endif // defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) 68 #endif // defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
69 69
70 private: 70 private:
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 // Used to vend weak pointers, and should always be declared last. 119 // Used to vend weak pointers, and should always be declared last.
120 base::WeakPtrFactory<UtilityProcessHostImpl> weak_ptr_factory_; 120 base::WeakPtrFactory<UtilityProcessHostImpl> weak_ptr_factory_;
121 121
122 DISALLOW_COPY_AND_ASSIGN(UtilityProcessHostImpl); 122 DISALLOW_COPY_AND_ASSIGN(UtilityProcessHostImpl);
123 }; 123 };
124 124
125 } // namespace content 125 } // namespace content
126 126
127 #endif // CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_ 127 #endif // CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/service_worker/service_worker_version_unittest.cc ('k') | content/browser/utility_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698