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

Unified Diff: chrome/common/url_constants.cc

Issue 2291002: Add test that verifies web-page to chrome communication. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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: chrome/common/url_constants.cc
===================================================================
--- chrome/common/url_constants.cc (revision 48143)
+++ chrome/common/url_constants.cc (working copy)
@@ -11,7 +11,7 @@
const char kAboutScheme[] = "about";
const char kChromeInternalScheme[] = "chrome-internal";
-const char kChromeUIScheme[] = "chrome";
+const char kCrosScheme[] = "cros";
Nikita (slow) 2010/05/27 17:40:54 Should be unchanged?
glotov 2010/05/27 17:55:05 Done.
const char kDataScheme[] = "data";
const char kExtensionScheme[] = "chrome-extension";
const char kFileScheme[] = "file";
@@ -26,6 +26,10 @@
const char kUserScriptScheme[] = "chrome-user-script";
const char kViewSourceScheme[] = "view-source";
+#if defined(OS_CHROMEOS)
+const char kChromeUIScheme[] = "chrome";
Nikita (slow) 2010/05/27 17:40:54 You should leave kChromeUIScheme unchanged and int
glotov 2010/05/27 17:55:05 Done. Just didn't uploaded the final patch with th
+#endif
+
const char kStandardSchemeSeparator[] = "://";
const char* kSavableSchemes[] = {
@@ -106,6 +110,9 @@
url_util::AddStandardScheme(kGearsScheme);
url_util::AddStandardScheme(kExtensionScheme);
url_util::AddStandardScheme(kMetadataScheme);
+#if defined(OS_CHROMEOS)
+ url_util::AddStandardScheme(kCrosScheme);
+#endif
// Prevent future modification of the standard schemes list. This is to
// prevent accidental creation of data races in the program. AddStandardScheme

Powered by Google App Engine
This is Rietveld 408576698