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

Unified Diff: components/password_manager/core/common/credential_manager_types.h

Issue 1031253003: Move credential_manager_types.h to components/password_manager/core. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: components/password_manager/core/common/credential_manager_types.h
diff --git a/components/password_manager/content/common/credential_manager_types.h b/components/password_manager/core/common/credential_manager_types.h
similarity index 79%
rename from components/password_manager/content/common/credential_manager_types.h
rename to components/password_manager/core/common/credential_manager_types.h
index 5fb8ee26a3c762244cd782db276cd6cc7865f9b7..606ea2871f0b812aa63458154d66ea170448801a 100644
--- a/components/password_manager/content/common/credential_manager_types.h
+++ b/components/password_manager/core/common/credential_manager_types.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_COMMON_CREDENTIAL_MANAGER_TYPES_H_
-#define COMPONENTS_PASSWORD_MANAGER_CONTENT_COMMON_CREDENTIAL_MANAGER_TYPES_H_
+#ifndef COMPONENTS_PASSWORD_MANAGER_CORE_COMMON_CREDENTIAL_MANAGER_TYPES_H_
+#define COMPONENTS_PASSWORD_MANAGER_CORE_COMMON_CREDENTIAL_MANAGER_TYPES_H_
#include <string>
@@ -16,10 +16,6 @@ namespace autofill {
struct PasswordForm;
}
-namespace blink {
-class WebCredential;
-};
-
namespace password_manager {
// Limit the size of the federations array that we pass to the browser to
@@ -36,9 +32,7 @@ enum class CredentialType : unsigned int {
struct CredentialInfo {
CredentialInfo();
- explicit CredentialInfo(const blink::WebCredential& credential);
- explicit CredentialInfo(const autofill::PasswordForm& form,
- CredentialType form_type);
+ CredentialInfo(const autofill::PasswordForm& form, CredentialType form_type);
~CredentialInfo();
CredentialType type;
@@ -71,4 +65,4 @@ scoped_ptr<autofill::PasswordForm> CreatePasswordFormFromCredentialInfo(
} // namespace password_manager
-#endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_COMMON_CREDENTIAL_MANAGER_TYPES_H_
+#endif // COMPONENTS_PASSWORD_MANAGER_CORE_COMMON_CREDENTIAL_MANAGER_TYPES_H_
« no previous file with comments | « components/password_manager/core/common/BUILD.gn ('k') | components/password_manager/core/common/credential_manager_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698