| 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 | 6 |
| 7 #include "base/android/build_info.h" | 7 #include "base/android/build_info.h" |
| 8 #include "base/feature_list.h" | 8 #include "base/feature_list.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 // On Marshmallow and higher, Seccomp is required by CTS. | 71 // On Marshmallow and higher, Seccomp is required by CTS. |
| 72 return true; | 72 return true; |
| 73 } | 73 } |
| 74 return false; | 74 return false; |
| 75 } | 75 } |
| 76 #endif // USE_SECCOMP_BPF | 76 #endif // USE_SECCOMP_BPF |
| 77 | 77 |
| 78 } // namespace | 78 } // namespace |
| 79 | 79 |
| 80 RendererMainPlatformDelegate::RendererMainPlatformDelegate( | 80 RendererMainPlatformDelegate::RendererMainPlatformDelegate( |
| 81 const MainFunctionParams& parameters) | 81 const MainFunctionParams& parameters) {} |
| 82 : parameters_(parameters) { | |
| 83 } | |
| 84 | 82 |
| 85 RendererMainPlatformDelegate::~RendererMainPlatformDelegate() { | 83 RendererMainPlatformDelegate::~RendererMainPlatformDelegate() { |
| 86 } | 84 } |
| 87 | 85 |
| 88 void RendererMainPlatformDelegate::PlatformInitialize() { | 86 void RendererMainPlatformDelegate::PlatformInitialize() { |
| 89 } | 87 } |
| 90 | 88 |
| 91 void RendererMainPlatformDelegate::PlatformUninitialize() { | 89 void RendererMainPlatformDelegate::PlatformUninitialize() { |
| 92 } | 90 } |
| 93 | 91 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 118 | 116 |
| 119 status_uma.set_status(RecordSeccompStatus::ENGAGED); | 117 status_uma.set_status(RecordSeccompStatus::ENGAGED); |
| 120 } else { | 118 } else { |
| 121 status_uma.set_status(RecordSeccompStatus::FEATURE_DISABLED); | 119 status_uma.set_status(RecordSeccompStatus::FEATURE_DISABLED); |
| 122 } | 120 } |
| 123 #endif | 121 #endif |
| 124 return true; | 122 return true; |
| 125 } | 123 } |
| 126 | 124 |
| 127 } // namespace content | 125 } // namespace content |
| OLD | NEW |