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

Unified Diff: chrome/renderer/autofill/form_manager.cc

Issue 6390006: Create autofill subdirectory in chrome/renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using order Created 9 years, 11 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/renderer/autofill/form_manager.h ('k') | chrome/renderer/autofill/form_manager_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/autofill/form_manager.cc
diff --git a/chrome/renderer/form_manager.cc b/chrome/renderer/autofill/form_manager.cc
similarity index 99%
rename from chrome/renderer/form_manager.cc
rename to chrome/renderer/autofill/form_manager.cc
index b94a1a049eb3c0e3f9123963230be5aa98d6241f..79cdecea3716cfb4eeb3e197787bec698dfd5d90 100644
--- a/chrome/renderer/form_manager.cc
+++ b/chrome/renderer/autofill/form_manager.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/renderer/form_manager.h"
+#include "chrome/renderer/autofill/form_manager.h"
#include "base/logging.h"
#include "base/scoped_vector.h"
@@ -275,6 +275,8 @@ void GetOptionStringsFromElement(WebFormControlElement element,
} // namespace
+namespace autofill {
+
struct FormManager::FormElement {
WebKit::WebFormElement form_element;
std::vector<WebKit::WebFormControlElement> control_elements;
@@ -920,3 +922,5 @@ void FormManager::PreviewFormField(WebFormControlElement* field,
if (is_initiating_node)
input_element.setSelectionRange(0, input_element.suggestedValue().length());
}
+
+} // namespace autofill
« no previous file with comments | « chrome/renderer/autofill/form_manager.h ('k') | chrome/renderer/autofill/form_manager_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698