diff options
author | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-18 03:23:05 +0000 |
---|---|---|
committer | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-18 03:23:05 +0000 |
commit | 8d025dbd59ff0049361a4e63f7408e584befdc3f (patch) | |
tree | bb84b5b54983e292823b48fa416a8110431a98b2 /components | |
parent | 1577d12ed9f3545590a78c44efac443f19d811bc (diff) | |
download | chromium_src-8d025dbd59ff0049361a4e63f7408e584befdc3f.zip chromium_src-8d025dbd59ff0049361a4e63f7408e584befdc3f.tar.gz chromium_src-8d025dbd59ff0049361a4e63f7408e584befdc3f.tar.bz2 |
Remove explicit thread manipulation from WebDB migration test.
BUG=none
Review URL: https://chromiumcodereview.appspot.com/13935005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194757 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components')
-rw-r--r-- | components/webdata/common/web_database_migration_unittest.cc | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/components/webdata/common/web_database_migration_unittest.cc b/components/webdata/common/web_database_migration_unittest.cc index 64268fb..f9d8b35 100644 --- a/components/webdata/common/web_database_migration_unittest.cc +++ b/components/webdata/common/web_database_migration_unittest.cc @@ -28,7 +28,6 @@ #include "components/autofill/browser/webdata/autofill_entry.h" #include "components/autofill/browser/webdata/autofill_table.h" #include "components/webdata/common/web_database.h" -#include "content/public/test/test_browser_thread.h" #include "sql/statement.h" #include "testing/gtest/include/gtest/gtest.h" @@ -36,7 +35,6 @@ using autofill::AutofillProfile; using autofill::AutofillTable; using autofill::CreditCard; using base::Time; -using content::BrowserThread; namespace { @@ -162,13 +160,7 @@ void CheckNoBackupData(const sql::Connection& connection, // |WebDatabase::MigrateOldVersionsAsNeeded()|. class WebDatabaseMigrationTest : public testing::Test { public: - // In order to access the application locale -- which the tested functions do - // internally -- this test must run on the UI thread. - // TODO(isherman): The WebDatabase code should probably verify that it is - // running on the DB thread. Once that verification is added, this code will - // need to be updated to create both threads. - WebDatabaseMigrationTest() - : ui_thread_(BrowserThread::UI, &message_loop_for_ui_) {} + WebDatabaseMigrationTest() {} virtual ~WebDatabaseMigrationTest() {} virtual void SetUp() { @@ -243,8 +235,6 @@ class WebDatabaseMigrationTest : public testing::Test { void LoadDatabase(const base::FilePath::StringType& file); private: - MessageLoopForUI message_loop_for_ui_; - content::TestBrowserThread ui_thread_; base::ScopedTempDir temp_dir_; DISALLOW_COPY_AND_ASSIGN(WebDatabaseMigrationTest); |