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

Unified Diff: components/autofill/core/browser/webdata/autofill_entry.h

Issue 2646783002: Fixed synchronization autocomplete unrecoverable error. (Closed)
Patch Set: Added const for local variables. Created 3 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
Index: components/autofill/core/browser/webdata/autofill_entry.h
diff --git a/components/autofill/core/browser/webdata/autofill_entry.h b/components/autofill/core/browser/webdata/autofill_entry.h
index 4a934dd4510ecd2aa746240a7003c394dfa588c9..a7932fde2cd3a6750091654aecb8176cb9812f52 100644
--- a/components/autofill/core/browser/webdata/autofill_entry.h
+++ b/components/autofill/core/browser/webdata/autofill_entry.h
@@ -5,6 +5,8 @@
#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_ENTRY_H__
#define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_ENTRY_H__
+#include <string>
+
#include "base/strings/string16.h"
#include "base/time/time.h"
@@ -14,7 +16,7 @@ class AutofillKey {
public:
AutofillKey();
AutofillKey(const base::string16& name, const base::string16& value);
- AutofillKey(const char* name, const char* value);
+ AutofillKey(const std::string& name, const std::string& value);
AutofillKey(const AutofillKey& key);
virtual ~AutofillKey();

Powered by Google App Engine
This is Rietveld 408576698