chromium/extensions/browser/api/system_cpu/cpu_info_provider.cc

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

#include "extensions/browser/api/system_cpu/cpu_info_provider.h"

#include "base/system/sys_info.h"
#include "build/build_config.h"

#if BUILDFLAG(IS_CHROMEOS)
#include "chromeos/system/cpu_temperature_reader.h"
#endif  // BUILDFLAG(IS_CHROMEOS)

namespace extensions {

CpuInfo;

// Static member intialization.
base::LazyInstance<scoped_refptr<CpuInfoProvider>>::DestructorAtExit
    CpuInfoProvider::provider_ =;

CpuInfoProvider::CpuInfoProvider() = default;

CpuInfoProvider::~CpuInfoProvider() = default;

void CpuInfoProvider::InitializeForTesting(
    scoped_refptr<CpuInfoProvider> provider) {}

bool CpuInfoProvider::QueryInfo() {}

std::vector<std::string> CpuInfoProvider::GetFeatures() const {}

// static
CpuInfoProvider* CpuInfoProvider::Get() {}

}  // namespace extensions