| Index: chrome/browser/webdata/autofill_table.cc
|
| diff --git a/chrome/browser/webdata/autofill_table.cc b/chrome/browser/webdata/autofill_table.cc
|
| index aa4c225bc981ca790bc901d8958d96fc38811b38..23b9da0e306686b7cdaae69e48df529257832780 100644
|
| --- a/chrome/browser/webdata/autofill_table.cc
|
| +++ b/chrome/browser/webdata/autofill_table.cc
|
| @@ -9,10 +9,12 @@
|
| #include <map>
|
| #include <set>
|
| #include <string>
|
| +#include <utility>
|
| #include <vector>
|
|
|
| #include "base/i18n/case_conversion.h"
|
| #include "base/logging.h"
|
| +#include "base/stl_util.h"
|
| #include "base/string_number_conversions.h"
|
| #include "base/time.h"
|
| #include "base/tuple.h"
|
| @@ -36,13 +38,6 @@ namespace {
|
|
|
| typedef std::vector<Tuple3<int64, string16, string16> > AutofillElementList;
|
|
|
| -// TODO(dhollowa): Find a common place for this. It is duplicated in
|
| -// personal_data_manager.cc.
|
| -template<typename T>
|
| -T* address_of(T& v) {
|
| - return &v;
|
| -}
|
| -
|
| string16 LimitDataSize(const string16& data) {
|
| if (data.size() > AutofillTable::kMaxDataLength)
|
| return data.substr(0, AutofillTable::kMaxDataLength);
|
|
|