diff options
Diffstat (limited to 'chrome/common/url_constants.cc')
-rw-r--r-- | chrome/common/url_constants.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc index 9da39eb..2c7ec0e 100644 --- a/chrome/common/url_constants.cc +++ b/chrome/common/url_constants.cc @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include <stdlib.h> + #include "chrome/common/url_constants.h" namespace chrome { @@ -24,6 +26,15 @@ const char kViewSourceScheme[] = "view-source"; const char kStandardSchemeSeparator[] = "://"; +const char* kSavableSchemes[] = { + kHttpScheme, + kHttpsScheme, + kFileScheme, + kFtpScheme, + kExtensionScheme, + NULL +}; + const char kAboutBlankURL[] = "about:blank"; const char kAboutCacheURL[] = "about:cache"; const char kAboutNetInternalsURL[] = "about:net-internals"; |