#ifndef CHROME_BROWSER_EXTENSIONS_API_SYSTEM_CPU_SYSTEM_CPU_API_H_
#define CHROME_BROWSER_EXTENSIONS_API_SYSTEM_CPU_SYSTEM_CPU_API_H_
#include "chrome/common/extensions/api/system_cpu.h"
#include "extensions/browser/extension_function.h"
namespace extensions {
class SystemCpuGetInfoFunction : public AsyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("system.cpu.getInfo", SYSTEM_CPU_GETINFO)
SystemCpuGetInfoFunction();
private:
virtual ~SystemCpuGetInfoFunction();
virtual bool RunImpl() OVERRIDE;
void OnGetCpuInfoCompleted(bool success);
};
}
#endif