Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / extension_constants.h
index 4bbffb3..9aa8f13 100644 (file)
 
 namespace extension_urls {
 
-// Returns the URL prefix for the extension/apps gallery. Can be set via the
-// --apps-gallery-url switch. The URL returned will not contain a trailing
-// slash. Do not use this as a prefix/extent for the store.
-std::string GetWebstoreLaunchURL();
-
-// Returns the URL to the extensions category on the Web Store. This is
-// derived from GetWebstoreLaunchURL().
-std::string GetExtensionGalleryURL();
-
-// Returns the URL prefix for an item in the extension/app gallery. This URL
-// will contain a trailing slash and should be concatenated with an item ID
-// to get the item detail URL.
-std::string GetWebstoreItemDetailURLPrefix();
-
-// Returns the URL used to get webstore data (ratings, manifest, icon URL,
-// etc.) about an extension from the webstore as JSON.
-GURL GetWebstoreItemJsonDataURL(const std::string& extension_id);
-
-// Returns the URL used to get webstore search results in JSON format. The URL
-// returns a JSON dictionary that has the search results (under "results").
-// Each entry in the array is a dictionary as the data returned for
-// GetWebstoreItemJsonDataURL above. |query| is the user typed query string.
-// |hl| is the host language code, e.g. en_US. Both arguments will be escaped
-// and added as a query parameter to the returned web store json search URL.
-GURL GetWebstoreJsonSearchUrl(const std::string& query, const std::string& hl);
-
-// Returns the URL of the web store search results page for |query|.
-GURL GetWebstoreSearchPageUrl(const std::string& query);
-
-// Return the update URL used by gallery/webstore extensions/apps. This may
-// have been overridden by a command line flag for testing purposes.
-GURL GetWebstoreUpdateUrl();
-
-// This returns the compile-time constant webstore update url. Usually you
-// should prefer using GetWebstoreUpdateUrl.
+// This returns the compile-time constant webstore update url specific to
+// Chrome. Usually you should prefer using GetWebstoreUpdateUrl.
 GURL GetDefaultWebstoreUpdateUrl();
 
-// Returns whether the URL is the webstore update URL (just considering host
-// and path, not scheme, query, etc.)
-bool IsWebstoreUpdateUrl(const GURL& update_url);
-
-// Returns true if the URL points to an extension blacklist.
-bool IsBlacklistUpdateUrl(const GURL& url);
-// The greatest common prefixes of the main extensions gallery's browse and
-// download URLs.
-extern const char kGalleryBrowsePrefix[];
-
 // Field to use with webstore URL for tracking launch source.
 extern const char kWebstoreSourceField[];
 
@@ -116,9 +73,15 @@ extern const char kIdentityApiUiAppId[];
 // The extension id of the Crosh component app for ChromeOS.
 extern const char kCroshBuiltinAppId[];
 
+// The extension id of the hotword audio verification dialogue app.
+extern const char kHotwordAudioVerificationAppId[];
+
 // The extension id of the hotword voice search trigger extension.
 extern const char kHotwordExtensionId[];
 
+// The extension id of the hotword shared module.
+extern const char kHotwordSharedModuleId[];
+
 // The extension id of the PDF extension.
 extern const char kPdfExtensionId[];
 
@@ -137,9 +100,6 @@ extern const char kSettingsAppId[];
 // The extension id used for testing streamsPrivate
 extern const char kStreamsPrivateTestExtensionId[];
 
-// The extension id of the Web Store component application.
-extern const char kWebStoreAppId[];
-
 // The extension id of the Youtube application.
 extern const char kYoutubeAppId[];
 
@@ -249,6 +209,10 @@ extern const char kChromeVoxExtensionPath[];
 extern const char kChromeVoxManifestFilename[];
 // Name of ChromeVox guest manifest file.
 extern const char kChromeVoxGuestManifestFilename[];
+// Name of ChromeVox next manifest file.
+extern const char kChromeVoxNextManifestFilename[];
+// Name of ChromeVox next guest manifest file.
+extern const char kChromeVoxNextGuestManifestFilename[];
 // Extension id, path (relative to |chrome::DIR_RESOURCES|) and IME engine
 // id for the builtin-in Braille IME extension.
 extern const char kBrailleImeExtensionId[];