Chromium Code Reviews| Index: chrome/common/importer/importer_data_types.h |
| diff --git a/chrome/common/importer/importer_data_types.h b/chrome/common/importer/importer_data_types.h |
| index d9594e76d08b4c5cb643ce808a8dde78a3cfb910..2e4c0df5fd8e4aff63695acf05666ff668f74cd1 100644 |
| --- a/chrome/common/importer/importer_data_types.h |
| +++ b/chrome/common/importer/importer_data_types.h |
| @@ -47,9 +47,12 @@ struct SourceProfile { |
| std::string locale; |
| }; |
| -// Contains information needed for importing bookmarks/search engine urls, etc. |
| -struct URLKeywordInfo { |
| - GURL url; |
| +// Contains information needed for importing search engine urls. |
| +struct SearchEngineInfo { |
| +// GURL derived from an url will be invalid if the url contains replacement |
| +// terms(s) in host (e.g., http://example.%s.com). Since |url| may contain |
|
Ilya Sherman
2014/11/07 00:22:34
nit: Is "%s" still the up-to-date string?
Tapu Ghose
2014/11/09 14:03:06
In this case yes. However, "%s" is replaced with "
|
| +// replacement term(s) in host, |url| is chosen as string instead of GURL. |
|
Ilya Sherman
2014/11/07 00:22:34
nit: "is chose as string instead of GURL" -> "is s
Ilya Sherman
2014/11/07 00:22:34
nit: Please indent these comment lines two spaces
Ilya Sherman
2014/11/07 00:22:34
nit: "in host" -> "in the host"
Tapu Ghose
2014/11/09 14:03:06
Done.
Tapu Ghose
2014/11/09 14:03:06
Done.
Tapu Ghose
2014/11/09 14:03:06
Done.
|
| + base::string16 url; |
| base::string16 keyword; |
| base::string16 display_name; |
| }; |