diff options
author | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-26 22:55:17 +0000 |
---|---|---|
committer | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-26 22:55:17 +0000 |
commit | 6aad4bd9df52e958bdc283f270b8775353589c4e (patch) | |
tree | 947c802b7d2e8b6d75f9c903e1b9ae3e8d175292 /chrome/common/url_constants.cc | |
parent | 2ce95ef06f6439da3e0d5722d1f50eeb05c94684 (diff) | |
download | chromium_src-6aad4bd9df52e958bdc283f270b8775353589c4e.zip chromium_src-6aad4bd9df52e958bdc283f270b8775353589c4e.tar.gz chromium_src-6aad4bd9df52e958bdc283f270b8775353589c4e.tar.bz2 |
Revert brett's code, for real this time.
Review URL: http://codereview.chromium.org/28224
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10517 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/url_constants.cc')
-rw-r--r-- | chrome/common/url_constants.cc | 53 |
1 files changed, 24 insertions, 29 deletions
diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc index 52c8605..3754dab 100644 --- a/chrome/common/url_constants.cc +++ b/chrome/common/url_constants.cc @@ -1,32 +1,27 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/common/url_constants.h"
-
-namespace chrome {
-
-const char kAboutScheme[] = "about";
-const char kChromeInternalScheme[] = "chrome-internal";
-const char kChromeUIScheme[] = "chrome-ui";
-const char kDataScheme[] = "data";
+// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "chrome/common/url_constants.h" + +namespace chrome { + +const char kAboutScheme[] = "about"; +const char kChromeInternalScheme[] = "chrome-internal"; +const char kChromeUIScheme[] = "chrome-ui"; +const char kDataScheme[] = "data"; const char kExtensionScheme[] = "chrome-extension"; -const char kFileScheme[] = "file";
-const char kFtpScheme[] = "ftp";
-const char kHttpScheme[] = "http";
-const char kHttpsScheme[] = "https";
-const char kJavaScriptScheme[] = "javascript";
+const char kFileScheme[] = "file"; +const char kFtpScheme[] = "ftp"; +const char kHttpScheme[] = "http"; +const char kHttpsScheme[] = "https"; +const char kJavaScriptScheme[] = "javascript"; const char kMailToScheme[] = "mailto"; const char kUserScriptScheme[] = "chrome-user-script"; -const char kViewSourceScheme[] = "view-source";
-
-const char kStandardSchemeSeparator[] = "://";
-
-const char kAboutBlankURL[] = "about:blank";
-const char kAboutCacheURL[] = "about:cache";
-const char kAboutCrashURL[] = "about:crash";
-const char kAboutHangURL[] = "about:hang";
-const char kAboutMemoryURL[] = "about:memory";
-const char kAboutShortHangURL[] = "about:shorthang";
-
-} // namespace chrome
+const char kViewSourceScheme[] = "view-source"; + +const char kStandardSchemeSeparator[] = "://"; + +const char kAboutBlankURL[] = "about:blank"; + +} // namespace chrome |