blob: a30645f9389eeaae12668424febb2f4e8d121764 [file] [log] [blame]
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_MEDIA_PLATFORM_VERIFICATION_CHROMEOS_H_
#define CHROME_BROWSER_MEDIA_PLATFORM_VERIFICATION_CHROMEOS_H_
// Platform verification consists of two components: browser-specific checks and
// device-specific checks. During development of Lacros, we need to support both
// the ash-browser and lacros-browser as separate build targets.
//
// This file provides the browser-specific checks for both ash-browser and
// lacros-browser.
namespace content {
class WebContents;
} // namespace content
namespace platform_verification {
// Checks whether a given |web_contents| support platform verification. Also
// logs an UMA histogram.
bool PerformBrowserChecks(content::WebContents* web_contents);
} // namespace platform_verification
#endif // CHROME_BROWSER_MEDIA_PLATFORM_VERIFICATION_CHROMEOS_H_