summaryrefslogtreecommitdiffstats
path: root/chrome/browser/webdata
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-08 01:22:15 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-08 01:22:15 +0000
commit810a52ef77564f1674a600317175743176bcc965 (patch)
treee18a35b4ef980bdb8eaad3c5812228a6e1b3ba16 /chrome/browser/webdata
parent673ccc1d607a6d7d280d89fedd3fb3bc906a7e27 (diff)
downloadchromium_src-810a52ef77564f1674a600317175743176bcc965.zip
chromium_src-810a52ef77564f1674a600317175743176bcc965.tar.gz
chromium_src-810a52ef77564f1674a600317175743176bcc965.tar.bz2
Remove most uses of EmptyString(), EmptyWString(), EmptyString16(), and EmptyGURL(), since the code in question can just use the default constructor.
BUG=none TEST=none Review URL: http://codereview.chromium.org/517054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35766 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/webdata')
-rw-r--r--chrome/browser/webdata/web_data_service_unittest.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/chrome/browser/webdata/web_data_service_unittest.cc b/chrome/browser/webdata/web_data_service_unittest.cc
index 7c92725..c19fee8 100644
--- a/chrome/browser/webdata/web_data_service_unittest.cc
+++ b/chrome/browser/webdata/web_data_service_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -105,10 +105,7 @@ class WebDataServiceTest : public testing::Test {
const string16& value,
std::vector<webkit_glue::FormField>* form_fields) {
form_fields->push_back(
- webkit_glue::FormField(EmptyString16(),
- name,
- EmptyString16(),
- value));
+ webkit_glue::FormField(string16(), name, string16(), value));
}
MessageLoopForUI message_loop_;
@@ -156,7 +153,7 @@ TEST_F(WebDataServiceTest, AutofillAdd) {
WebDataService::Handle handle;
static const int limit = 10;
handle = wds_->GetFormValuesForElementName(
- name1_, EmptyString16(), limit, &consumer);
+ name1_, string16(), limit, &consumer);
// The message loop will exit when the consumer is called.
MessageLoop::current()->Run();