Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Unified Diff: content/public/common/url_constants.h

Issue 10383298: Move RegisterContentSchemes from public url_constants into non-public url_schemes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: allow content/common/savable_url_schemes.h to be included by url_constants.cc Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/common/DEPS ('k') | content/public/common/url_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/url_constants.h
diff --git a/content/public/common/url_constants.h b/content/public/common/url_constants.h
index 6174e31e45fb4afe08c9256ab91698d3282f3608..bf290fb0af3f24f55196986a659cf1955cc8d3b3 100644
--- a/content/public/common/url_constants.h
+++ b/content/public/common/url_constants.h
@@ -67,19 +67,7 @@ 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();
} // namespace content
« no previous file with comments | « content/public/common/DEPS ('k') | content/public/common/url_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698