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

Side by Side Diff: url/url_constants.cc

Issue 2332263002: Updated suborigin serialization to latest spec proposal (Closed)
Patch Set: Created 4 years, 3 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 unified diff | Download patch
OLDNEW
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 kContentIDScheme[] = "cid"; 14 const char kContentIDScheme[] = "cid";
15 const char kDataScheme[] = "data"; 15 const char kDataScheme[] = "data";
16 const char kFileScheme[] = "file"; 16 const char kFileScheme[] = "file";
17 const char kFileSystemScheme[] = "filesystem"; 17 const char kFileSystemScheme[] = "filesystem";
18 const char kFtpScheme[] = "ftp"; 18 const char kFtpScheme[] = "ftp";
19 const char kGopherScheme[] = "gopher"; 19 const char kGopherScheme[] = "gopher";
20 const char kHttpScheme[] = "http"; 20 const char kHttpScheme[] = "http";
21 const char kHttpSuboriginScheme[] = "http-so";
Mike West 2016/09/13 18:00:18 Perhaps not for this CL, but WDYT about locking su
jww 2016/09/13 18:36:04 I think that since they're purely restrictive, I d
21 const char kHttpsScheme[] = "https"; 22 const char kHttpsScheme[] = "https";
23 const char kHttpsSuboriginScheme[] = "https-so";
22 const char kJavaScriptScheme[] = "javascript"; 24 const char kJavaScriptScheme[] = "javascript";
23 const char kMailToScheme[] = "mailto"; 25 const char kMailToScheme[] = "mailto";
24 const char kWsScheme[] = "ws"; 26 const char kWsScheme[] = "ws";
25 const char kWssScheme[] = "wss"; 27 const char kWssScheme[] = "wss";
26 28
27 const char kStandardSchemeSeparator[] = "://"; 29 const char kStandardSchemeSeparator[] = "://";
28 30
29 const size_t kMaxURLChars = 2 * 1024 * 1024; 31 const size_t kMaxURLChars = 2 * 1024 * 1024;
30 32
31 } // namespace url 33 } // namespace url
OLDNEW
« url/url_constants.h ('K') | « url/url_constants.h ('k') | url/url_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698