#include "chrome/browser/web_applications/os_integration/os_integration_test_override.h"
#include <ostream>
#include <string>
#include <vector>
#include "base/check_is_test.h"
#include "base/files/file_path.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_refptr.h"
#include "base/no_destructor.h"
#include "build/build_config.h"
#include "chrome/browser/web_applications/os_integration/os_integration_manager.h"
#include "components/webapps/common/web_app_id.h"
namespace web_app {
namespace {
struct OsIntegrationTestOverrideState { … };
OsIntegrationTestOverrideState&
GetMutableOsIntegrationTestOverrideStateForTesting() { … }
}
void OsIntegrationTestOverride::CheckOsIntegrationAllowed() { … }
scoped_refptr<OsIntegrationTestOverride> OsIntegrationTestOverride::Get() { … }
OsIntegrationTestOverride::OsIntegrationTestOverride() = default;
OsIntegrationTestOverride::~OsIntegrationTestOverride() = default;
OsIntegrationTestOverrideImpl*
OsIntegrationTestOverride::AsOsIntegrationTestOverrideImpl() { … }
scoped_refptr<OsIntegrationTestOverride>
OsIntegrationTestOverride::GetOrCreateForBlockingRegistration(
base::FunctionRef<scoped_refptr<OsIntegrationTestOverride>()>
creation_function) { … }
bool OsIntegrationTestOverride::DecreaseBlockingRegistrationCountMaybeReset() { … }
}