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

Unified Diff: components/autofill/content/renderer/password_form_conversion_utils.h

Issue 23622013: Move password_form_conversion_utils out of //content into //autofill. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@password_form_includes_removal
Patch Set: Add bug reference for components_browsertests Created 7 years, 3 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: components/autofill/content/renderer/password_form_conversion_utils.h
diff --git a/content/public/renderer/password_form_conversion_utils.h b/components/autofill/content/renderer/password_form_conversion_utils.h
similarity index 63%
rename from content/public/renderer/password_form_conversion_utils.h
rename to components/autofill/content/renderer/password_form_conversion_utils.h
index 986963c61a84a72f29681ce1f1ae6df7776e0709..cdc344d3ddb7955b66c328618d2ac20b53b36ab9 100644
--- a/content/public/renderer/password_form_conversion_utils.h
+++ b/components/autofill/content/renderer/password_form_conversion_utils.h
@@ -2,27 +2,28 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_PUBLIC_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H_
-#define CONTENT_PUBLIC_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H_
+#ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H_
+#define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H_
#include "base/memory/scoped_ptr.h"
-#include "content/common/content_export.h"
+
+namespace content {
+struct PasswordForm;
+}
namespace WebKit {
class WebFormElement;
}
-namespace content {
-
-struct PasswordForm;
+namespace autofill {
// Create a PasswordForm from DOM form. Webkit doesn't allow storing
// custom metadata to DOM nodes, so we have to do this every time an event
// happens with a given form and compare against previously Create'd forms
// to identify..which sucks.
-CONTENT_EXPORT scoped_ptr<PasswordForm> CreatePasswordForm(
+scoped_ptr<content::PasswordForm> CreatePasswordForm(
const WebKit::WebFormElement& form);
-} // namespace content
+} // namespace autofill
-#endif // CONTENT_PUBLIC_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H__
+#endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H__

Powered by Google App Engine
This is Rietveld 408576698