1 // Copyright 2022 The ChromiumOS Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 use std::thread; 6 7 use base::Tube; 8 setup_common_metric_invariants( _product_version: &Option<String>, _product_channel: &Option<String>, _use_vulkan: &Option<bool>, )9pub fn setup_common_metric_invariants( 10 _product_version: &Option<String>, 11 _product_channel: &Option<String>, 12 _use_vulkan: &Option<bool>, 13 ) { 14 } 15 enable_vcpu_monitoring() -> bool16pub fn enable_vcpu_monitoring() -> bool { 17 false 18 } 19 20 // This is a hard limit as it is used to set the Tube buffer size, and will 21 // deadlock if exceeded (b/223807352). 22 pub const MAX_CHALLENGE_SIZE: usize = 1; 23 spawn_dedicated_anti_tamper_thread(_tube_to_main_thread: Tube) -> thread::JoinHandle<()>24pub fn spawn_dedicated_anti_tamper_thread(_tube_to_main_thread: Tube) -> thread::JoinHandle<()> { 25 thread::spawn(move || {}) 26 } 27