| 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 #include "content/renderer/renderer_main_platform_delegate.h" | 5 #include "content/renderer/renderer_main_platform_delegate.h" |
| 6 #include "base/logging.h" | 6 #include "base/logging.h" |
| 7 | 7 |
| 8 namespace content { |
| 9 |
| 8 RendererMainPlatformDelegate::RendererMainPlatformDelegate( | 10 RendererMainPlatformDelegate::RendererMainPlatformDelegate( |
| 9 const content::MainFunctionParams& parameters) | 11 const MainFunctionParams& parameters) |
| 10 : parameters_(parameters) { | 12 : parameters_(parameters) { |
| 11 } | 13 } |
| 12 | 14 |
| 13 RendererMainPlatformDelegate::~RendererMainPlatformDelegate() { | 15 RendererMainPlatformDelegate::~RendererMainPlatformDelegate() { |
| 14 } | 16 } |
| 15 | 17 |
| 16 void RendererMainPlatformDelegate::PlatformInitialize() { | 18 void RendererMainPlatformDelegate::PlatformInitialize() { |
| 17 } | 19 } |
| 18 | 20 |
| 19 void RendererMainPlatformDelegate::PlatformUninitialize() { | 21 void RendererMainPlatformDelegate::PlatformUninitialize() { |
| 20 } | 22 } |
| 21 | 23 |
| 22 bool RendererMainPlatformDelegate::InitSandboxTests(bool no_sandbox) { | 24 bool RendererMainPlatformDelegate::InitSandboxTests(bool no_sandbox) { |
| 23 return true; | 25 return true; |
| 24 } | 26 } |
| 25 | 27 |
| 26 bool RendererMainPlatformDelegate::EnableSandbox() { | 28 bool RendererMainPlatformDelegate::EnableSandbox() { |
| 27 return true; | 29 return true; |
| 28 } | 30 } |
| 29 | 31 |
| 30 void RendererMainPlatformDelegate::RunSandboxTests() { | 32 void RendererMainPlatformDelegate::RunSandboxTests() { |
| 31 } | 33 } |
| 34 |
| 35 } // namespace content |
| OLD | NEW |