Index: chrome/common/url_constants.h |
=================================================================== |
--- chrome/common/url_constants.h (revision 132480) |
+++ chrome/common/url_constants.h (working copy) |
@@ -8,6 +8,9 @@ |
#define CHROME_COMMON_URL_CONSTANTS_H_ |
#pragma once |
+#include <string> |
+#include <vector> |
+ |
#include "build/build_config.h" |
#include "content/public/common/url_constants.h" |
@@ -345,15 +348,18 @@ |
// Canonical schemes you can use as input to GURL.SchemeIs(). |
extern const char kExtensionScheme[]; |
-// Call near the beginning of startup to register Chrome's internal URLs that |
-// should be parsed as "standard" with the googleurl library. |
-void RegisterChromeSchemes(); |
- |
#if defined(OS_CHROMEOS) |
// "Learn more" URL for the Cloud Print section under Options. |
extern const char kCloudPrintLearnMoreURL[]; |
#endif |
+// Call near the beginning of startup to get Chrome's internal URLs that |
+// should be parsed as "standard" with the googleurl library and that should |
+// be considered "savable". See ContentClient::AddAdditionalSchemes(). |
+void GetAdditionalSchemes( |
+ std::vector<std::string>* standard_schemes, |
+ std::vector<std::string>* saveable_shemes); |
+ |
} // namespace chrome |
#endif // CHROME_COMMON_URL_CONSTANTS_H_ |