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

Unified Diff: chrome/browser/automation/testing_automation_provider.cc

Issue 11000016: Move forms/ out of webkit/. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Response to review Created 8 years, 2 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
Index: chrome/browser/automation/testing_automation_provider.cc
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index 3cccc86ae037adb7735d0257e10c7c2fe902bc81..27432b9ae4abc3509cbf40b6dc2fbec79964fead 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -3415,7 +3415,7 @@ void TestingAutomationProvider::ImportSettings(Browser* browser,
namespace {
// Translates a dictionary password to a PasswordForm struct.
-webkit::forms::PasswordForm GetPasswordFormFromDict(
+content::PasswordForm GetPasswordFormFromDict(
const DictionaryValue& password_dict) {
// If the time is specified, change time to the specified time.
@@ -3455,7 +3455,7 @@ webkit::forms::PasswordForm GetPasswordFormFromDict(
GURL origin_gurl(origin_url_text);
GURL action_target(action_target_text);
- webkit::forms::PasswordForm password_form;
+ content::PasswordForm password_form;
password_form.signon_realm = signon_realm;
password_form.username_value = username_value;
password_form.password_value = password_value;
@@ -3494,7 +3494,7 @@ void TestingAutomationProvider::AddSavedPassword(
return;
}
- webkit::forms::PasswordForm new_password =
+ content::PasswordForm new_password =
GetPasswordFormFromDict(*password_dict);
// Use IMPLICIT_ACCESS since new passwords aren't added in incognito mode.
@@ -3540,7 +3540,7 @@ void TestingAutomationProvider::RemoveSavedPassword(
"Password must include a value for 'signon_realm.'");
return;
}
- webkit::forms::PasswordForm to_remove =
+ content::PasswordForm to_remove =
GetPasswordFormFromDict(*password_dict);
// Use EXPLICIT_ACCESS since passwords can be removed in incognito mode.
« no previous file with comments | « chrome/browser/automation/automation_provider_observers.cc ('k') | chrome/browser/importer/external_process_importer_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698