OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "chrome/renderer/renderer_main_platform_delegate.h" | 5 #include "chrome/renderer/renderer_main_platform_delegate.h" |
6 | 6 |
7 #include "base/debug_util.h" | 7 #include "base/debug_util.h" |
8 | 8 |
9 // This is a no op class because we do not have a sandbox on linux. | 9 // This is a no op class because we do not have a sandbox on linux. |
10 | 10 |
11 RendererMainPlatformDelegate::RendererMainPlatformDelegate( | 11 RendererMainPlatformDelegate::RendererMainPlatformDelegate( |
12 const MainFunctionParams& parameters) | 12 const MainFunctionParams& parameters) |
13 : parameters_(parameters) { | 13 : parameters_(parameters) { |
14 } | 14 } |
15 | 15 |
16 RendererMainPlatformDelegate::~RendererMainPlatformDelegate() { | 16 RendererMainPlatformDelegate::~RendererMainPlatformDelegate() { |
17 } | 17 } |
18 | 18 |
19 void RendererMainPlatformDelegate::PlatformInitialize() { | 19 void RendererMainPlatformDelegate::PlatformInitialize() { |
20 } | 20 } |
21 | 21 |
22 void RendererMainPlatformDelegate::PlatformUninitialize() { | 22 void RendererMainPlatformDelegate::PlatformUninitialize() { |
23 } | 23 } |
24 | 24 |
25 bool RendererMainPlatformDelegate::InitSandboxTests(bool no_sandbox) { | 25 bool RendererMainPlatformDelegate::InitSandboxTests(bool no_sandbox) { |
26 NOTIMPLEMENTED(); | 26 // We have no sandbox. |
| 27 // http://code.google.com/p/chromium/issues/detail?id=8081 |
27 return true; | 28 return true; |
28 } | 29 } |
29 | 30 |
30 bool RendererMainPlatformDelegate::EnableSandbox() { | 31 bool RendererMainPlatformDelegate::EnableSandbox() { |
31 NOTIMPLEMENTED(); | 32 // We have no sandbox. |
| 33 // http://code.google.com/p/chromium/issues/detail?id=8081 |
32 return true; | 34 return true; |
33 } | 35 } |
34 | 36 |
35 void RendererMainPlatformDelegate::RunSandboxTests() { | 37 void RendererMainPlatformDelegate::RunSandboxTests() { |
36 NOTIMPLEMENTED(); | 38 // We have no sandbox. |
| 39 // http://code.google.com/p/chromium/issues/detail?id=8081 |
37 } | 40 } |
OLD | NEW |