#ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
#define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
#include <stdint.h>
#include "base/files/file_path.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "chrome/common/buildflags.h"
#include "url/gurl.h"
namespace extension_urls {
inline constexpr char kWebstoreSourceField[] = …;
inline constexpr char kLaunchSourceAppList[] = …;
inline constexpr char kLaunchSourceAppListSearch[] = …;
inline constexpr char kLaunchSourceAppListInfoDialog[] = …;
}
namespace extension_misc {
inline constexpr char kCalendarAppId[] = …;
inline constexpr char kDataSaverExtensionId[] = …;
inline constexpr char kGoogleMapsAppId[] = …;
inline constexpr char kGooglePhotosAppId[] = …;
inline constexpr char kGooglePlayBooksAppId[] = …;
inline constexpr char kGooglePlayMoviesAppId[] = …;
inline constexpr char kGooglePlayMusicAppId[] = …;
inline constexpr char kGooglePlusAppId[] = …;
inline constexpr char kTextEditorAppId[] = …;
inline constexpr char kInAppPaymentsSupportAppId[] = …;
inline constexpr char kKeyboardExtensionId[] = …;
extern const char* const kBuiltInFirstPartyExtensionIds[];
enum AppLaunchBucket { … };
#if BUILDFLAG(IS_CHROMEOS)
inline constexpr char kAssessmentAssistantExtensionId[] =
"gndmhdcefbhlchkhipcnnbkcmicncehk";
inline constexpr char kEchoExtensionId[] = "kddnkjkcjddckihglkfcickdhbmaodcn";
inline constexpr char kGnubbyAppId[] = "beknehfpfkghjoafdifaflglpjkojoco";
inline constexpr char kGnubbyV3ExtensionId[] =
"lfboplenmmjcmpbkeemecobbadnmpfhi";
inline constexpr char kGCSEExtensionId[] = "cfmgaohenjcikllcgjpepfadgbflcjof";
inline constexpr char kContactCenterInsightsExtensionId[] =
"oebfonohdfogiaaaelfmjlkjbgdbaahf";
inline constexpr char kDeskApiExtensionId[] =
"kflgdebkpepnpjobkdfeeipcjdahoomc";
inline constexpr char kBruSecurityKeyForwarderExtensionId[] =
"lcooaekmckohjjnpaaokodoepajbnill";
inline constexpr char kODFSExtensionId[] = "gnnndjlaomemikopnjhhnoombakkkkdg";
inline constexpr char kPerfettoUIExtensionId[] =
"lfmkphfpdbjijhpomgecfikhfohaoine";
#endif
#if BUILDFLAG(IS_CHROMEOS_ASH)
inline constexpr char kAccessibilityCommonExtensionId[] =
"egfdjlfmgnehecnclamagfafdccgfndp";
inline constexpr char kAccessibilityCommonExtensionPath[] =
"chromeos/accessibility";
inline constexpr char kAccessibilityCommonManifestFilename[] =
"accessibility_common_manifest.json";
inline constexpr char kAccessibilityCommonManifestV3Filename[] =
"accessibility_common_manifest_v3.json";
inline constexpr char kAccessibilityCommonGuestManifestFilename[] =
"accessibility_common_manifest_guest.json";
inline constexpr char kAccessibilityCommonGuestManifestV3Filename[] =
"accessibility_common_manifest_guest_v3.json";
inline constexpr char kChromeVoxExtensionPath[] = "chromeos/accessibility";
inline constexpr char kChromeVoxManifestFilename[] = "chromevox_manifest.json";
inline constexpr char kChromeVoxManifestV3Filename[] =
"chromevox_manifest_v3.json";
inline constexpr char kChromeVoxGuestManifestFilename[] =
"chromevox_manifest_guest.json";
inline constexpr char kChromeVoxGuestManifestV3Filename[] =
"chromevox_manifest_guest_v3.json";
inline constexpr char kChromeVoxOptionsPath[] =
"/chromevox/options/options.html";
inline constexpr char kEnhancedNetworkTtsExtensionId[] =
"jacnkoglebceckolkoapelihnglgaicd";
inline constexpr char kEnhancedNetworkTtsExtensionPath[] =
"chromeos/accessibility";
inline constexpr char kEnhancedNetworkTtsManifestFilename[] =
"enhanced_network_tts_manifest.json";
inline constexpr char kEnhancedNetworkTtsManifestV3Filename[] =
"enhanced_network_tts_manifest_v3.json";
inline constexpr char kEnhancedNetworkTtsGuestManifestFilename[] =
"enhanced_network_tts_manifest_guest.json";
inline constexpr char kEnhancedNetworkTtsGuestManifestV3Filename[] =
"enhanced_network_tts_manifest_guest_v3.json";
inline constexpr char kSelectToSpeakExtensionId[] =
"klbcgckkldhdhonijdbnhhaiedfkllef";
inline constexpr char kSelectToSpeakExtensionPath[] = "chromeos/accessibility";
inline constexpr char kSelectToSpeakManifestFilename[] =
"select_to_speak_manifest.json";
inline constexpr char kSelectToSpeakManifestV3Filename[] =
"select_to_speak_manifest_v3.json";
inline constexpr char kSelectToSpeakGuestManifestFilename[] =
"select_to_speak_manifest_guest.json";
inline constexpr char kSelectToSpeakGuestManifestV3Filename[] =
"select_to_speak_manifest_v3_guest.json";
inline constexpr char kSwitchAccessExtensionId[] =
"pmehocpgjmkenlokgjfkaichfjdhpeol";
inline constexpr char kSwitchAccessExtensionPath[] = "chromeos/accessibility";
inline constexpr char kSwitchAccessManifestFilename[] =
"switch_access_manifest.json";
inline constexpr char kSwitchAccessManifestV3Filename[] =
"switch_access_manifest_v3.json";
inline constexpr char kSwitchAccessGuestManifestFilename[] =
"switch_access_manifest_guest.json";
inline constexpr char kSwitchAccessGuestManifestV3Filename[] =
"switch_access_manifest_guest_v3.json";
inline constexpr char kGuestManifestFilename[] = "manifest_guest.json";
inline constexpr char kFirstRunDialogId[] = "jdgcneonijmofocbhmijhacgchbihela";
inline constexpr char kGoogleSpeechSynthesisExtensionPath[] =
"/usr/share/chromeos-assets/speech_synthesis/patts";
inline constexpr char kGoogleSpeechSynthesisExtensionId[] =
"gjjabgpgjpampikjhjpfhneeoapjbjaf";
inline constexpr char kGoogleSpeechSynthesisOptionsPath[] = "/options.html";
inline constexpr char kEspeakSpeechSynthesisExtensionPath[] =
"/usr/share/chromeos-assets/speech_synthesis/espeak-ng";
inline constexpr char kEspeakSpeechSynthesisExtensionId[] =
"dakbfdmgjiabojdgbiljlhgjbokobjpg";
inline constexpr char kEspeakSpeechSynthesisOptionsPath[] = "/options.html";
inline constexpr char kHelpAppExtensionId[] =
"honijodknafkokifofgiaalefdiedpko";
#elif BUILDFLAG(IS_CHROMEOS_LACROS)
inline constexpr char kEmbeddedA11yHelperExtensionId[] =
"kgonammgkackdilhodbgbmodpepjocdp";
inline constexpr char kEmbeddedA11yHelperExtensionPath[] = "accessibility";
inline constexpr char kEmbeddedA11yHelperManifestFilename[] =
"embedded_a11y_helper_manifest.json";
inline constexpr char kChromeVoxHelperExtensionId[] =
"mlkejohendkgipaomdopolhpbihbhfnf";
inline constexpr char kChromeVoxHelperExtensionPath[] = "accessibility";
inline constexpr char kChromeVoxHelperManifestFilename[] =
"chromevox_helper_manifest.json";
#endif
#if !BUILDFLAG(IS_CHROMEOS_LACROS)
inline constexpr char kReadingModeGDocsHelperExtensionId[] = …;
inline constexpr char kReadingModeGDocsHelperExtensionPath[] = …;
inline constexpr base::FilePath::CharType
kReadingModeGDocsHelperManifestFilename[] = …);
#endif
enum CrxInstallCause { … };
inline constexpr char kAppStateNotInstalled[] = …;
inline constexpr char kAppStateInstalled[] = …;
inline constexpr char kAppStateDisabled[] = …;
inline constexpr char kAppStateRunning[] = …;
inline constexpr char kAppStateCannotRun[] = …;
inline constexpr char kAppStateReadyToRun[] = …;
inline constexpr char kMediaFileSystemPathPart[] = …;
inline constexpr char kExtensionRequestTimestamp[] = …;
inline constexpr char kExtensionWorkflowJustification[] = …;
}
#endif