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

Side by Side Diff: url/url_constants.cc

Issue 2403713002: Add suborigin logic to url::Origin (Closed)
Patch Set: Fix unit test Created 4 years, 1 month 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
« no previous file with comments | « url/url_constants.h ('k') | url/url_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 kHttpsScheme[] = "https"; 21 const char kHttpsScheme[] = "https";
22 const char kJavaScriptScheme[] = "javascript"; 22 const char kJavaScriptScheme[] = "javascript";
23 const char kMailToScheme[] = "mailto"; 23 const char kMailToScheme[] = "mailto";
24 const char kWsScheme[] = "ws"; 24 const char kWsScheme[] = "ws";
25 const char kWssScheme[] = "wss"; 25 const char kWssScheme[] = "wss";
26 26
27 const char kHttpSuboriginScheme[] = "http-so";
28 const char kHttpsSuboriginScheme[] = "https-so";
29
27 const char kStandardSchemeSeparator[] = "://"; 30 const char kStandardSchemeSeparator[] = "://";
28 31
29 const size_t kMaxURLChars = 2 * 1024 * 1024; 32 const size_t kMaxURLChars = 2 * 1024 * 1024;
30 33
31 } // namespace url 34 } // namespace url
OLDNEW
« no previous file with comments | « url/url_constants.h ('k') | url/url_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698