summaryrefslogtreecommitdiffstats
path: root/chrome/browser/webdata/autofill_entry.h
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-11-18 18:32:45 +0000
committerBen Murdoch <benm@google.com>2010-11-18 18:38:07 +0000
commit513209b27ff55e2841eac0e4120199c23acce758 (patch)
treeaeba30bb08c5f47c57003544e378a377c297eee6 /chrome/browser/webdata/autofill_entry.h
parent164f7496de0fbee436b385a79ead9e3cb81a50c1 (diff)
downloadexternal_chromium-513209b27ff55e2841eac0e4120199c23acce758.zip
external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.gz
external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.bz2
Merge Chromium at r65505: Initial merge by git.
Change-Id: I31d8f1d8cd33caaf7f47ffa7350aef42d5fbdb45
Diffstat (limited to 'chrome/browser/webdata/autofill_entry.h')
-rw-r--r--chrome/browser/webdata/autofill_entry.h23
1 files changed, 8 insertions, 15 deletions
diff --git a/chrome/browser/webdata/autofill_entry.h b/chrome/browser/webdata/autofill_entry.h
index 4917b29..7aa9139 100644
--- a/chrome/browser/webdata/autofill_entry.h
+++ b/chrome/browser/webdata/autofill_entry.h
@@ -9,21 +9,15 @@
#include <vector>
#include "base/string16.h"
#include "base/time.h"
-#include "base/utf_string_conversions.h"
class AutofillKey {
public:
- AutofillKey() {}
- AutofillKey(const string16& name, const string16& value)
- : name_(name),
- value_(value) {}
- AutofillKey(const char* name, const char* value)
- : name_(UTF8ToUTF16(name)),
- value_(UTF8ToUTF16(value)) {}
- AutofillKey(const AutofillKey& key)
- : name_(key.name()),
- value_(key.value()) {}
- virtual ~AutofillKey() {}
+ AutofillKey();
+ AutofillKey(const string16& name, const string16& value);
+ AutofillKey(const char* name, const char* value);
+ AutofillKey(const AutofillKey& key);
+ virtual ~AutofillKey();
+
const string16& name() const { return name_; }
const string16& value() const { return value_; }
@@ -38,9 +32,8 @@ class AutofillKey {
class AutofillEntry {
public:
AutofillEntry(const AutofillKey& key,
- const std::vector<base::Time>& timestamps)
- : key_(key),
- timestamps_(timestamps) {}
+ const std::vector<base::Time>& timestamps);
+ ~AutofillEntry();
const AutofillKey& key() const { return key_; }
const std::vector<base::Time>& timestamps() const { return timestamps_; }