| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "url/url_constants.h" | 5 #include "url/url_constants.h" |
| 6 | 6 |
| 7 namespace url { | 7 namespace url { |
| 8 | 8 |
| 9 const char kAboutBlankURL[] = "about:blank"; | 9 const char kAboutBlankURL[] = "about:blank"; |
| 10 | 10 |
| 11 const char kAboutScheme[] = "about"; | 11 const char kAboutScheme[] = "about"; |
| 12 const char kBlobScheme[] = "blob"; | 12 const char kBlobScheme[] = "blob"; |
| 13 const char kContentScheme[] = "content"; | 13 const char kContentScheme[] = "content"; |
| 14 const char kDataScheme[] = "data"; | 14 const char kDataScheme[] = "data"; |
| 15 const char kFileScheme[] = "file"; | 15 const char kFileScheme[] = "file"; |
| 16 const char kFileSystemScheme[] = "filesystem"; | 16 const char kFileSystemScheme[] = "filesystem"; |
| 17 const char kFtpScheme[] = "ftp"; | 17 const char kFtpScheme[] = "ftp"; |
| 18 const char kGopherScheme[] = "gopher"; | 18 const char kGopherScheme[] = "gopher"; |
| 19 const char kHttpScheme[] = "http"; | 19 const char kHttpScheme[] = "http"; |
| 20 const char kHttpsScheme[] = "https"; | 20 const char kHttpsScheme[] = "https"; |
| 21 const char kJavaScriptScheme[] = "javascript"; | 21 const char kJavaScriptScheme[] = "javascript"; |
| 22 const char kMailToScheme[] = "mailto"; | 22 const char kMailToScheme[] = "mailto"; |
| 23 const char kWsScheme[] = "ws"; | 23 const char kWsScheme[] = "ws"; |
| 24 const char kWssScheme[] = "wss"; | 24 const char kWssScheme[] = "wss"; |
| 25 | 25 |
| 26 const char kStandardSchemeSeparator[] = "://"; | 26 const char kStandardSchemeSeparator[] = "://"; |
| 27 | 27 |
| 28 const size_t kMaxURLChars = 2 * 1024 * 1024; |
| 29 |
| 28 } // namespace url | 30 } // namespace url |
| OLD | NEW |