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

Side by Side Diff: url/url_constants.cc

Issue 301353003: Using pre-existing constants instead of hard-coding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing nit 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') | no next file » | 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 kBlobScheme[] = "blob"; 9 const char kBlobScheme[] = "blob";
10 const char kDataScheme[] = "data"; 10 const char kDataScheme[] = "data";
11 const char kFileScheme[] = "file"; 11 const char kFileScheme[] = "file";
12 const char kFileSystemScheme[] = "filesystem"; 12 const char kFileSystemScheme[] = "filesystem";
13 const char kFtpScheme[] = "ftp"; 13 const char kFtpScheme[] = "ftp";
14 const char kHttpScheme[] = "http"; 14 const char kHttpScheme[] = "http";
15 const char kHttpsScheme[] = "https"; 15 const char kHttpsScheme[] = "https";
16 const char kJavaScriptScheme[] = "javascript"; 16 const char kJavaScriptScheme[] = "javascript";
17 const char kMailToScheme[] = "mailto"; 17 const char kMailToScheme[] = "mailto";
18 const char kWsScheme[] = "ws";
19 const char kWssScheme[] = "wss";
18 20
19 } // namespace url 21 } // namespace url
OLDNEW
« no previous file with comments | « url/url_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698