chromium/ui/ozone/platform_selection.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "ui/ozone/platform_selection.h"

#include "base/command_line.h"
#include "base/logging.h"
#include "ui/ozone/platform_list.h"
#include "ui/ozone/public/ozone_switches.h"

namespace ui {

namespace {

// Returns the name of the platform to use (value of --ozone-platform flag).
std::string GetPlatformName() {}

int g_selected_platform =;

}  // namespace

int GetOzonePlatformId() {}

const char* GetOzonePlatformName() {}

}  // namespace ui