| 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..453621a8731fd99150d391ca94ae8fc65c650011 100644
|
| --- a/chrome/common/importer/importer_data_types.h
|
| +++ b/chrome/common/importer/importer_data_types.h
|
| @@ -47,9 +47,13 @@ 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
|
| + // replacement term(s) in the host, |url| is a string instead of a GURL since
|
| + // it may not actually be a valid GURL directly (e.g. for "http://%s.com").
|
| + base::string16 url;
|
| base::string16 keyword;
|
| base::string16 display_name;
|
| };
|
|
|