summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/autocomplete_edit_proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/automation/autocomplete_edit_proxy.h')
-rw-r--r--chrome/test/automation/autocomplete_edit_proxy.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/chrome/test/automation/autocomplete_edit_proxy.h b/chrome/test/automation/autocomplete_edit_proxy.h
index 8b6d766..87c8803 100644
--- a/chrome/test/automation/autocomplete_edit_proxy.h
+++ b/chrome/test/automation/autocomplete_edit_proxy.h
@@ -30,23 +30,8 @@ struct AutocompleteMatchData {
contents(match.contents),
description(match.description),
is_history_what_you_typed_match(match.is_history_what_you_typed_match),
+ type(AutocompleteMatch::TypeToString(match.type)),
starred(match.starred) {
- switch (match.type) {
- case AutocompleteMatch::URL:
- type = "URL";
- break;
- case AutocompleteMatch::KEYWORD:
- type = "KEYWORD";
- break;
- case AutocompleteMatch::SEARCH:
- type = "SEARCH";
- break;
- case AutocompleteMatch::HISTORY_SEARCH:
- type = "HISTORY";
- break;
- default:
- NOTREACHED();
- }
}
std::string provider_name;