Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1328)

Unified Diff: chrome/browser/ui/search/instant_extended_interactive_uitest.cc

Issue 15517007: Change InstantAutocompleteResult::Type to be AutocompleteMatchType::Type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comment. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/search/instant_controller.cc ('k') | chrome/common/instant_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/instant_extended_interactive_uitest.cc
diff --git a/chrome/browser/ui/search/instant_extended_interactive_uitest.cc b/chrome/browser/ui/search/instant_extended_interactive_uitest.cc
index 1f806bdf2f0a529d7974a02e2df2310bcb1c51bf..7fc123ebb52cc43402c3919cd351477d2af4cd07 100644
--- a/chrome/browser/ui/search/instant_extended_interactive_uitest.cc
+++ b/chrome/browser/ui/search/instant_extended_interactive_uitest.cc
@@ -1721,8 +1721,7 @@ IN_PROC_BROWSER_TEST_F(InstantExtendedTest, RestrictedItemReadback) {
InstantAutocompleteResult res;
res.provider = ASCIIToUTF16(AutocompleteProvider::TypeToString(
AutocompleteProvider::TYPE_BUILTIN));
- res.type = ASCIIToUTF16(AutocompleteMatchType::ToString(
- AutocompleteMatchType::SEARCH_WHAT_YOU_TYPED)),
+ res.type = AutocompleteMatchType::SEARCH_WHAT_YOU_TYPED,
res.description = ASCIIToUTF16(description);
res.destination_url = ASCIIToUTF16(url);
res.transition = content::PAGE_TRANSITION_TYPED;
« no previous file with comments | « chrome/browser/ui/search/instant_controller.cc ('k') | chrome/common/instant_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698