#ifndef CHROME_COMMON_EXTENSIONS_API_WEBSTORE_PRIVATE_H__
#define CHROME_COMMON_EXTENSIONS_API_WEBSTORE_PRIVATE_H__
#include <stdint.h>
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include "base/values.h"
#include <string_view>
namespace extensions {
namespace api {
namespace webstore_private {
enum class Result { … };
const char* ToString(Result as_enum);
Result ParseResult(std::string_view as_string);
std::u16string GetResultParseError(std::string_view as_string);
enum class WebGlStatus { … };
const char* ToString(WebGlStatus as_enum);
WebGlStatus ParseWebGlStatus(std::string_view as_string);
std::u16string GetWebGlStatusParseError(std::string_view as_string);
enum class ExtensionInstallStatus { … };
const char* ToString(ExtensionInstallStatus as_enum);
ExtensionInstallStatus ParseExtensionInstallStatus(std::string_view as_string);
std::u16string GetExtensionInstallStatusParseError(std::string_view as_string);
enum class MV2DeprecationStatus { … };
const char* ToString(MV2DeprecationStatus as_enum);
MV2DeprecationStatus ParseMV2DeprecationStatus(std::string_view as_string);
std::u16string GetMV2DeprecationStatusParseError(std::string_view as_string);
namespace BeginInstallWithManifest3 {
struct Params { … };
namespace Results {
base::Value::List Create(const Result& result);
}
}
namespace CompleteInstall {
struct Params { … };
namespace Results {
base::Value::List Create();
}
}
namespace EnableAppLauncher {
namespace Results {
base::Value::List Create();
}
}
namespace GetBrowserLogin {
namespace Results {
struct Info { … };
base::Value::List Create(const Info& info);
}
}
namespace GetStoreLogin {
namespace Results {
base::Value::List Create(const std::string& login);
}
}
namespace SetStoreLogin {
struct Params { … };
namespace Results {
base::Value::List Create();
}
}
namespace GetWebGLStatus {
namespace Results {
base::Value::List Create(const WebGlStatus& webgl_status);
}
}
namespace GetIsLauncherEnabled {
namespace Results {
base::Value::List Create(bool is_enabled);
}
}
namespace IsInIncognitoMode {
namespace Results {
base::Value::List Create(bool is_incognito);
}
}
namespace IsPendingCustodianApproval {
struct Params { … };
namespace Results {
base::Value::List Create(bool is_pending_approval);
}
}
namespace GetReferrerChain {
namespace Results {
base::Value::List Create(const std::string& referrer_chain);
}
}
namespace GetExtensionStatus {
struct Params { … };
namespace Results {
base::Value::List Create(const ExtensionInstallStatus& status);
}
}
namespace GetFullChromeVersion {
namespace Results {
struct Info { … };
base::Value::List Create(const Info& info);
}
}
namespace GetMV2DeprecationStatus {
namespace Results {
base::Value::List Create(const MV2DeprecationStatus& status);
}
}
}
}
}
#endif