Index: chrome/browser/search/instant_service_unittest.cc |
diff --git a/chrome/browser/search/instant_service_unittest.cc b/chrome/browser/search/instant_service_unittest.cc |
index 7d22a543b0f0047fa6e3ea4ff72f87dd560d2838..66253b745747dbb983cd4bca108f696ded48d7f7 100644 |
--- a/chrome/browser/search/instant_service_unittest.cc |
+++ b/chrome/browser/search/instant_service_unittest.cc |
@@ -8,6 +8,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/metrics/field_trial.h" |
#include "base/strings/string_util.h" |
+#include "base/strings/utf_string_conversions.h" |
#include "chrome/browser/search/instant_service.h" |
#include "chrome/browser/search/instant_service_observer.h" |
#include "chrome/browser/search/instant_unittest_base.h" |
@@ -128,6 +129,7 @@ TEST_F(InstantServiceEnabledTest, |
// Set a default search provider that doesn't support Instant. |
TemplateURLData data; |
+ data.SetShortName(base::ASCIIToUTF16("foobar.com")); |
data.SetURL("https://foobar.com/url?bar={searchTerms}"); |
TemplateURL* template_url = new TemplateURL(data); |
// Takes ownership of |template_url|. |