blob: 8e8a0f98a867250b255cab0e7a9fc5d5bdfca1e7 [file] [log] [blame]
[email protected]a8ecc562012-01-04 01:11:281// Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]cb691e82009-07-13 14:59:012// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/common/extensions/extension_constants.h"
6
[email protected]e2888402009-11-20 02:16:137namespace extension_urls {
[email protected]f18824b2012-06-22 22:38:528
rockot90659852014-09-18 19:31:529namespace {
[email protected]1f6a9a62013-05-22 01:53:0610
[email protected]173ca872011-11-24 21:37:0111const char kGalleryUpdateHttpsUrl[] =
[email protected]754e37562011-08-25 00:47:0412 "https://clients2.google.com/service/update2/crx";
13
rockot90659852014-09-18 19:31:5214} // namespace
[email protected]abd4cb22014-05-16 05:22:5615
16GURL GetDefaultWebstoreUpdateUrl() {
17 return GURL(kGalleryUpdateHttpsUrl);
[email protected]754e37562011-08-25 00:47:0418}
19
[email protected]084e35482013-09-25 02:46:1920const char kWebstoreSourceField[] = "utm_source";
21
22const char kLaunchSourceAppList[] = "chrome-app-launcher";
23const char kLaunchSourceAppListSearch[] = "chrome-app-launcher-search";
[email protected]6f843de572014-03-18 20:39:1024const char kLaunchSourceAppListInfoDialog[] = "chrome-app-launcher-info-dialog";
[email protected]084e35482013-09-25 02:46:1925
[email protected]f18824b2012-06-22 22:38:5226} // namespace extension_urls
[email protected]b0b3abd92010-04-30 17:00:0927
[email protected]91059f82010-07-09 17:17:5928namespace extension_misc {
[email protected]b8096552013-05-04 15:48:1129
[email protected]173ca872011-11-24 21:37:0130const char kBookmarkManagerId[] = "eemcgdkfndhakfknompkggombfjjjeno";
[email protected]b8096552013-05-04 15:48:1131const char kChromeAppId[] = "mgndgikekgjfcpckkfioiadnlibdjbkf";
[email protected]b8096552013-05-04 15:48:1132const char kCloudPrintAppId[] = "mfehgcgbbipciphmccgaenjidiccnmng";
glevin6ac071f72015-04-07 21:47:3233const char kDataSaverExtensionId[] = "pfmgfdlgomnbgkofeojodiodmgpgmkac";
xiyuan65b68ab12015-06-26 19:00:1834const char kDriveExtensionId[] = "ghbmnnjooekpmoecnnnilnnbdlolhkhi";
35const char kDriveHostedAppId[] = "apdfllckaahabafndbhieahigkjlhalf";
[email protected]64304a72014-03-31 00:52:5136const char kEasyUnlockAppId[] = "mkaemigholebcgchlkbankmihknojeak";
[email protected]a446534d2012-02-09 00:07:3837const char kEnterpriseWebStoreAppId[] = "afchcafgojfnemjkcbhfekplkmjaldaa";
[email protected]b8096552013-05-04 15:48:1138const char kGmailAppId[] = "pjkljhegncpnkpknbcohdijeoejaedia";
39const char kGoogleDocAppId[] = "aohghmighlieiainnegkcijnfilokake";
40const char kGooglePlayMusicAppId[] = "icppfcnhkcmnfdhfhphakoifcfokfdhg";
41const char kGoogleSearchAppId[] = "coobgpohoikkiipiblmjeljniedjpjpf";
42const char kGoogleSheetsAppId[] = "felcaaldnbdncclmgdcncolpebgiejap";
43const char kGoogleSlidesAppId[] = "aapocclcgogkmnckokdopfmhonfmgoek";
[email protected]a446534d2012-02-09 00:07:3844const char kHTermAppId[] = "pnhechapfaindjhompbnflcldabbghjo";
45const char kHTermDevAppId[] = "okddffdblfhhnmhodogpojmfkjmhinfp";
[email protected]20232aae2013-05-25 18:01:0846const char kIdentityApiUiAppId[] = "ahjaciijnoiaklcomgnblndopackapon";
[email protected]9271a052012-03-24 01:27:4447const char kCroshBuiltinAppId[] = "nkoccljplnhpfnfiajclkommnmllphnl";
kcarattini599e3512014-08-28 07:04:4548const char kHotwordAudioVerificationAppId[] =
49 "abjokfonkihficiokmkfboogholifghn";
amistryb6e04ae2014-11-06 23:54:2050const char kHotwordNewExtensionId[] = "nbpagnldghgfoolbancepceaanlmhfmd";
amistry075d1692014-09-26 05:33:3551const char kHotwordSharedModuleId[] = "lccekmodgklaepjeofjdjpbminllajkg";
[email protected]b8096552013-05-04 15:48:1152const char kSettingsAppId[] = "ennkphjdgehloodpbhlhldgbnhmacadg";
[email protected]b8096552013-05-04 15:48:1153const char kYoutubeAppId[] = "blpcfgokakmgnkcojhhkbfbldkacnbeo";
[email protected]8aa50c7752013-05-23 12:57:5054const char kInAppPaymentsSupportAppId[] = "nmmhkkegccagdldgiimedpiccmgmieda";
mfoltz5a877e62015-04-13 23:02:3355#if defined(ENABLE_MEDIA_ROUTER)
56const char kMediaRouterStableExtensionId[] = "fjhoaacokmgbjemoflkofnenfaiekifl";
57#endif // defined(ENABLE_MEDIA_ROUTER)
[email protected]b8096552013-05-04 15:48:1158
[email protected]77d133382011-01-24 17:20:1459#if defined(OS_CHROMEOS)
[email protected]28124e22013-09-06 08:11:3160// The extension id for the built-in component extension.
61const char kChromeVoxExtensionId[] =
62 "mndnfokpggljbaajbnioimlmbfngpief";
[email protected]cda103d2014-04-04 16:22:3963const char kChromeVoxExtensionPath[] = "chromeos/chromevox";
plundblad2cad95c32015-06-04 11:11:3664const char kGuestManifestFilename[] = "manifest_guest.json";
[email protected]2e5e0b12014-05-07 13:30:2065const char kBrailleImeExtensionId[] =
66 "jddehjeebkoimngcbdkaahpobgicbffp";
67const char kBrailleImeExtensionPath[] =
68 "chromeos/braille_ime";
69const char kBrailleImeEngineId[] =
70 "_comp_ime_jddehjeebkoimngcbdkaahpobgicbffpbraille";
[email protected]86bf41e12013-07-19 19:43:0371const char kConnectivityDiagnosticsPath[] =
72 "/usr/share/chromeos-assets/connectivity_diagnostics";
[email protected]213d25f2013-08-05 01:19:4173const char kConnectivityDiagnosticsLauncherPath[] =
74 "/usr/share/chromeos-assets/connectivity_diagnostics_launcher";
tbarzicebbbe5e2015-05-09 02:49:4775const char kFirstRunDialogId[] = "jdgcneonijmofocbhmijhacgchbihela";
[email protected]88a328a32012-11-27 18:53:3976const char kSpeechSynthesisExtensionPath[] =
77 "/usr/share/chromeos-assets/speech_synthesis/patts";
78const char kSpeechSynthesisExtensionId[] =
79 "gjjabgpgjpampikjhjpfhneeoapjbjaf";
[email protected]1b53bb32012-09-17 14:43:0680const char kWallpaperManagerId[] = "obklkkbkpaoaejdabbfldmcfplpdgolj";
tbarzicebbbe5e2015-05-09 02:49:4781const char kWebstoreWidgetAppId[] = "fbjakikfhfdajcamjleinfciajelkpek";
mtomasz9d6e4212014-10-31 06:32:5582const char kZIPUnpackerExtensionId[] = "oedeeodfidgoollimchfdnbmhcpnklnd";
[email protected]28124e22013-09-06 08:11:3183#else
84// The extension id for the web store extension.
85const char kChromeVoxExtensionId[] =
86 "kgejglhpjiefppelpmljglcjbhoiplfn";
[email protected]77d133382011-01-24 17:20:1487#endif
[email protected]f2fe87c2012-04-24 17:53:4988
89const char kAppStateNotInstalled[] = "not_installed";
90const char kAppStateInstalled[] = "installed";
91const char kAppStateDisabled[] = "disabled";
92const char kAppStateRunning[] = "running";
93const char kAppStateCannotRun[] = "cannot_run";
94const char kAppStateReadyToRun[] = "ready_to_run";
95
[email protected]f53465f2012-07-31 21:05:2796const char kMediaFileSystemPathPart[] = "_";
97
[email protected]f83bd432014-05-10 20:44:4098const uint8 kWebstoreSignaturesPublicKey[] = {
99 0x30, 0x82, 0x01, 0x22, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86,
100 0xf7, 0x0d, 0x01, 0x01, 0x01, 0x05, 0x00, 0x03, 0x82, 0x01, 0x0f, 0x00,
101 0x30, 0x82, 0x01, 0x0a, 0x02, 0x82, 0x01, 0x01, 0x00, 0x8f, 0xfb, 0xbf,
102 0x5c, 0x37, 0x63, 0x94, 0x3c, 0xb0, 0xee, 0x01, 0xc4, 0xb5, 0xa6, 0x9a,
103 0xb1, 0x9f, 0x46, 0x74, 0x6f, 0x16, 0x38, 0xa0, 0x32, 0x27, 0x35, 0xdd,
104 0xf0, 0x71, 0x6b, 0x0e, 0xdc, 0xf6, 0x25, 0xcb, 0xb2, 0xed, 0xea, 0xfb,
105 0x32, 0xd5, 0xaf, 0x1e, 0x03, 0x43, 0x03, 0x46, 0xf0, 0xa7, 0x39, 0xdb,
106 0x23, 0x96, 0x1d, 0x65, 0xe5, 0x78, 0x51, 0xf0, 0x84, 0xb0, 0x0e, 0x12,
107 0xac, 0x0e, 0x5b, 0xdc, 0xc9, 0xd6, 0x4c, 0x7c, 0x00, 0xd5, 0xb8, 0x1b,
108 0x88, 0x33, 0x3e, 0x2f, 0xda, 0xeb, 0xaa, 0xf7, 0x1a, 0x75, 0xc2, 0xae,
109 0x3a, 0x54, 0xde, 0x37, 0x8f, 0x10, 0xd2, 0x28, 0xe6, 0x84, 0x79, 0x4d,
110 0x15, 0xb4, 0xf3, 0xbd, 0x3f, 0x56, 0xd3, 0x3c, 0x3f, 0x18, 0xab, 0xfc,
111 0x2e, 0x05, 0xc0, 0x1e, 0x08, 0x31, 0xb6, 0x61, 0xd0, 0xfd, 0x9f, 0x4f,
112 0x3f, 0x64, 0x0d, 0x17, 0x93, 0xbc, 0xad, 0x41, 0xc7, 0x48, 0xbe, 0x00,
113 0x27, 0xa8, 0x4d, 0x70, 0x42, 0x92, 0x05, 0x54, 0xa6, 0x6d, 0xb8, 0xde,
114 0x56, 0x6e, 0x20, 0x49, 0x70, 0xee, 0x10, 0x3e, 0x6b, 0xd2, 0x7c, 0x31,
115 0xbd, 0x1b, 0x6e, 0xa4, 0x3c, 0x46, 0x62, 0x9f, 0x08, 0x66, 0x93, 0xf9,
116 0x2a, 0x51, 0x31, 0xa8, 0xdb, 0xb5, 0x9d, 0xb9, 0x0f, 0x73, 0xe8, 0xa0,
117 0x09, 0x32, 0x01, 0xe9, 0x7b, 0x2a, 0x8a, 0x36, 0xa0, 0xcf, 0x17, 0xb0,
118 0x50, 0x70, 0x9d, 0xa2, 0xf9, 0xa4, 0x6f, 0x62, 0x4d, 0xb6, 0xc9, 0x31,
119 0xfc, 0xf3, 0x08, 0x12, 0xff, 0x93, 0xbd, 0x62, 0x31, 0xd8, 0x1c, 0xea,
120 0x1a, 0x9e, 0xf5, 0x81, 0x28, 0x7f, 0x75, 0x5e, 0xd2, 0x27, 0x7a, 0xc2,
121 0x96, 0xf5, 0x9d, 0xdb, 0x18, 0xfc, 0x76, 0xdc, 0x46, 0xf0, 0x57, 0xc0,
122 0x58, 0x34, 0xc8, 0x22, 0x2d, 0x2a, 0x65, 0x75, 0xa7, 0xd9, 0x08, 0x62,
123 0xcd, 0x02, 0x03, 0x01, 0x00, 0x01};
124
125const int kWebstoreSignaturesPublicKeySize =
126 arraysize(kWebstoreSignaturesPublicKey);
127
[email protected]f18824b2012-06-22 22:38:52128} // namespace extension_misc