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

Side by Side Diff: url/url_constants.cc

Issue 335353002: Replace some hard coded schemes with the constants in /url/url_constants.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typos. Created 6 years, 6 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
« 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 kDataScheme[] = "data"; 13 const char kDataScheme[] = "data";
14 const char kFileScheme[] = "file"; 14 const char kFileScheme[] = "file";
15 const char kFileSystemScheme[] = "filesystem"; 15 const char kFileSystemScheme[] = "filesystem";
16 const char kFtpScheme[] = "ftp"; 16 const char kFtpScheme[] = "ftp";
17 const char kGopherScheme[] = "gopher";
17 const char kHttpScheme[] = "http"; 18 const char kHttpScheme[] = "http";
18 const char kHttpsScheme[] = "https"; 19 const char kHttpsScheme[] = "https";
19 const char kJavaScriptScheme[] = "javascript"; 20 const char kJavaScriptScheme[] = "javascript";
20 const char kMailToScheme[] = "mailto"; 21 const char kMailToScheme[] = "mailto";
21 const char kWsScheme[] = "ws"; 22 const char kWsScheme[] = "ws";
22 const char kWssScheme[] = "wss"; 23 const char kWssScheme[] = "wss";
23 24
24 const char kStandardSchemeSeparator[] = "://"; 25 const char kStandardSchemeSeparator[] = "://";
25 26
26 } // namespace url 27 } // 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