Chromium Code Reviews| Index: content/public/common/url_constants.h |
| diff --git a/content/public/common/url_constants.h b/content/public/common/url_constants.h |
| index a6e7567cf67b96d6527c5bde00bf05daea14db38..ea4a067c772d130ba8ae3f539d08bfd0778348c0 100644 |
| --- a/content/public/common/url_constants.h |
| +++ b/content/public/common/url_constants.h |
| @@ -67,19 +67,9 @@ extern const char kSwappedOutURL[]; |
| // Null terminated list of schemes that are savable. This function can be |
| // invoked on any thread. |
| -CONTENT_EXPORT const char** GetSavableSchemes(); |
| - |
| -// Note: ContentMainRunner calls this method internally as part of main |
| -// initialziation, so this function generally should not be called by |
| -// embedders. It's exported to facilitate test harnesses that do not |
| -// utilize ContentMainRunner and that do not wish to lock the set |
| -// of standard schemes at init time. |
| -// |
| -// Called near the beginning of startup to register URL schemes that should |
| -// be parsed as "standard" with the googleurl library. Optionally, the set |
| -// of standard schemes is locked down. The embedder can add additional |
| -// schemes by overriding the ContentClient::AddAdditionalSchemes method. |
| -CONTENT_EXPORT void RegisterContentSchemes(bool lock_standard_schemes); |
| +CONTENT_EXPORT const char* const* GetSavableSchemes(); |
| + |
| +void SetSavableSchemes(const char* const* savable_schemes); |
|
grt (UTC plus 2)
2012/05/24 04:08:51
what do you think of this addition (i've intention
|
| } // namespace content |