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

Unified Diff: content/public/common/savable_url_schemes.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: checkdeps! 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
Index: content/public/common/savable_url_schemes.h
diff --git a/content/public/common/savable_url_schemes.h b/content/public/common/savable_url_schemes.h
new file mode 100644
index 0000000000000000000000000000000000000000..8d3fdffa7341b0584e61e70854b652c5900b0511
--- /dev/null
+++ b/content/public/common/savable_url_schemes.h
@@ -0,0 +1,20 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_PUBLIC_COMMON_SAVABLE_URL_SCHEMES_H_
+#define CONTENT_PUBLIC_COMMON_SAVABLE_URL_SCHEMES_H_
+#pragma once
+
+namespace content {
+
+// Null terminated list of schemes that are savable. This function can be
+// invoked on any thread.
+const char* const* GetSavableSchemesInternal();
+
+// Intended for use only during initialization.
+void SetSavableSchemes(const char* const* savable_schemes);
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_SAVABLE_URL_SCHEMES_H_

Powered by Google App Engine
This is Rietveld 408576698