| OLD | NEW | 
|---|
| 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 #pragma once | 7 #pragma once | 
| 8 | 8 | 
| 9 #include "base/process_util.h" | 9 #include "base/process_util.h" | 
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" | 
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 50   virtual void SetExposedDir(const FilePath& dir) = 0; | 50   virtual void SetExposedDir(const FilePath& dir) = 0; | 
| 51 | 51 | 
| 52   // Make the process run without a sandbox. | 52   // Make the process run without a sandbox. | 
| 53   virtual void DisableSandbox() = 0; | 53   virtual void DisableSandbox() = 0; | 
| 54 | 54 | 
| 55   // If the sandbox is being used and we are on Linux, launch the process from | 55   // If the sandbox is being used and we are on Linux, launch the process from | 
| 56   // the zygote. Can only be used for tasks that do not require FS access. | 56   // the zygote. Can only be used for tasks that do not require FS access. | 
| 57   virtual void EnableZygote() = 0; | 57   virtual void EnableZygote() = 0; | 
| 58 | 58 | 
| 59 #if defined(OS_POSIX) | 59 #if defined(OS_POSIX) | 
| 60   virtual void SetEnv(const base::environment_vector& env) = 0; | 60   virtual void SetEnv(const base::EnvironmentVector& env) = 0; | 
| 61 #endif | 61 #endif | 
| 62 }; | 62 }; | 
| 63 | 63 | 
| 64 };  // namespace content | 64 };  // namespace content | 
| 65 | 65 | 
| 66 #endif  // CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_ | 66 #endif  // CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_ | 
| OLD | NEW | 
|---|