diff options
author | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-12 16:34:37 +0000 |
---|---|---|
committer | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-12 16:34:37 +0000 |
commit | b938d4f552356e79b96a7ecca85d98c782e2c659 (patch) | |
tree | b5e744dae048c8caaee10bcf61cf3c2027cbf9e8 /chrome/browser/webdata/web_apps_table_unittest.cc | |
parent | a383b35847acaea23b5cb9bfa80ee048638d8901 (diff) | |
download | chromium_src-b938d4f552356e79b96a7ecca85d98c782e2c659.zip chromium_src-b938d4f552356e79b96a7ecca85d98c782e2c659.tar.gz chromium_src-b938d4f552356e79b96a7ecca85d98c782e2c659.tar.bz2 |
[Autofill] Access the application locale in a thread-safe manner when migrating WebDB data.
BUG=100845
TBR=robertshield@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11821044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176539 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/webdata/web_apps_table_unittest.cc')
-rw-r--r-- | chrome/browser/webdata/web_apps_table_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/webdata/web_apps_table_unittest.cc b/chrome/browser/webdata/web_apps_table_unittest.cc index 8db136a..837c488 100644 --- a/chrome/browser/webdata/web_apps_table_unittest.cc +++ b/chrome/browser/webdata/web_apps_table_unittest.cc @@ -38,7 +38,7 @@ class WebAppsTableTest : public testing::Test { TEST_F(WebAppsTableTest, WebAppHasAllImages) { WebDatabase db; - ASSERT_EQ(sql::INIT_OK, db.Init(file_)); + ASSERT_EQ(sql::INIT_OK, db.Init(file_, std::string())); GURL url("http://google.com/"); // Initial value for unknown web app should be false. @@ -56,7 +56,7 @@ TEST_F(WebAppsTableTest, WebAppHasAllImages) { TEST_F(WebAppsTableTest, WebAppImages) { WebDatabase db; - ASSERT_EQ(sql::INIT_OK, db.Init(file_)); + ASSERT_EQ(sql::INIT_OK, db.Init(file_, std::string())); GURL url("http://google.com/"); // Web app should initially have no images. |