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

Unified Diff: chrome_frame/test/delete_chrome_history_test.cc

Issue 12543034: Move creation of the various WebDatabaseTable types out of WebDatabase. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Windows release builds (COMDAT folding combined static functions being used for keys. Created 7 years, 9 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/webdata/web_intents_table.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/delete_chrome_history_test.cc
diff --git a/chrome_frame/test/delete_chrome_history_test.cc b/chrome_frame/test/delete_chrome_history_test.cc
index 0c44799789491d983b0955e0387f8502ef91975b..69e3a5a59338a6d95dd1d70569b04ecf50441e95 100644
--- a/chrome_frame/test/delete_chrome_history_test.cc
+++ b/chrome_frame/test/delete_chrome_history_test.cc
@@ -102,13 +102,15 @@ ACTION_P2(ExpectFormValuesForElementNameMatch, element_name, matcher) {
base::FilePath profile_path(
root_path.Append(L"Default").Append(chrome::kWebDataFilename));
+ AutofillTable autofill_table;
WebDatabase web_database;
+ web_database.AddTable(&autofill_table);
sql::InitStatus init_status = web_database.Init(profile_path, std::string());
EXPECT_EQ(sql::INIT_OK, init_status);
if (init_status == sql::INIT_OK) {
std::vector<string16> values;
- web_database.GetAutofillTable()->GetFormValuesForElementName(
+ autofill_table.GetFormValuesForElementName(
element_name, L"", &values, 9999);
EXPECT_THAT(values, matcher);
}
« no previous file with comments | « chrome/browser/webdata/web_intents_table.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698