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

Side by Side Diff: content/renderer/renderer_main_platform_delegate_android.cc

Issue 1575763002: Make `content` target build without unused data members on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use_disallow_copy_assign_linux_only
Patch Set: fix unit test Created 4 years, 11 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 #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
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
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
OLDNEW
« no previous file with comments | « content/renderer/renderer_main_platform_delegate.h ('k') | content/renderer/renderer_main_platform_delegate_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698