summaryrefslogtreecommitdiffstats
path: root/chrome/browser/template_url_parser.h
diff options
context:
space:
mode:
authorsky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-12 17:28:12 +0000
committersky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-12 17:28:12 +0000
commit187f9ad7e4dd8eda57744b6100ff35990e21a4a6 (patch)
tree149548c73c9c0ac8a151f472dd626f09813d1b69 /chrome/browser/template_url_parser.h
parent0435f737a39aa8d6a0b8d567264dbfd02242c0d9 (diff)
downloadchromium_src-187f9ad7e4dd8eda57744b6100ff35990e21a4a6.zip
chromium_src-187f9ad7e4dd8eda57744b6100ff35990e21a4a6.tar.gz
chromium_src-187f9ad7e4dd8eda57744b6100ff35990e21a4a6.tar.bz2
Allows OSDD files to contain https.
BUG=2153 TEST=covered by unit tests Review URL: http://codereview.chromium.org/2454 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2119 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/template_url_parser.h')
-rw-r--r--chrome/browser/template_url_parser.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/template_url_parser.h b/chrome/browser/template_url_parser.h
index dcdd5eb..facf7c6 100644
--- a/chrome/browser/template_url_parser.h
+++ b/chrome/browser/template_url_parser.h
@@ -19,16 +19,16 @@ class TemplateURLParser {
public:
// Invoked for each parameter of the template URL while parsing. If this
// methods returns false, the parameter is not included.
- virtual bool KeepParameter(const std::string& key,
- const std::string& value) = 0;
+ virtual bool KeepParameter(const std::string& key,
+ const std::string& value) = 0;
};
// Decodes the chunk of data representing a TemplateURL. If data does
// not describe a valid TemplateURL false is returned. Additionally, if the
- // URLs referenced do not point to valid http resources, false is returned.
- // |parameter_filter| can be used if you want to filter out some parameters
- // out of the URL. For example when importing from another browser we remove
- // any parameter identifying that browser. If set to NULL, the URL is not
- // modified.
+ // URLs referenced do not point to valid http/https resources, false is
+ // returned. |parameter_filter| can be used if you want to filter out some
+ // parameters out of the URL. For example when importing from another browser
+ // we remove any parameter identifying that browser. If set to NULL, the URL
+ // is not modified.
//
// NOTE: This does not clear all values of the supplied TemplateURL; it's
// expected callers will supply a new TemplateURL to this method.