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

Unified Diff: chrome/browser/autofill/i_auxiliary_profile_loader.h

Issue 12282004: Added personal_data_manager android implementation for auto-populating auto-fill on android builds … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 10 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: chrome/browser/autofill/i_auxiliary_profile_loader.h
diff --git a/chrome/browser/autofill/i_auxiliary_profile_loader.h b/chrome/browser/autofill/i_auxiliary_profile_loader.h
new file mode 100644
index 0000000000000000000000000000000000000000..1a6db222f3844d186e6ac33c22bdd9e54fce92c4
--- /dev/null
+++ b/chrome/browser/autofill/i_auxiliary_profile_loader.h
@@ -0,0 +1,37 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
David Trainor- moved to gerrit 2013/02/27 07:49:28 I don't think we use i for an interface prefix (at
apiccion 2013/02/28 01:31:04 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_AUTOFILL_I_AUXILIARY_PROFILE_LOADER_H_
+#define CHROME_BROWSER_AUTOFILL_I_AUXILIARY_PROFILE_LOADER_H_
+
+#include <vector>
+#include "base/string16.h"
+
+class IAuxiliaryProfileLoader {
+ public:
+ virtual ~IAuxiliaryProfileLoader() {}
+
+ // Address info
+ virtual string16 GetStreet() = 0;
+ virtual string16 GetPobox() = 0;
+ virtual string16 GetNeighborhood() = 0;
+ virtual string16 GetRegion() = 0;
+ virtual string16 GetCity() = 0;
+ virtual string16 GetPostalCode() = 0;
+ virtual string16 GetCountry() = 0;
+
+ // Name info
+ virtual string16 GetFirstName() = 0;
+ virtual string16 GetMiddleName() = 0;
+ virtual string16 GetLastName() = 0;
+ virtual string16 GetSuffix() = 0;
+
+ // Email info
+ virtual std::vector<string16> GetEmailAddresses() = 0;
+
+ // Phone info
+ virtual std::vector<string16> GetPhoneNumbers() = 0;
+};
+
+#endif // CHROME_BROWSER_AUTOFILL_I_AUXILIARY_PROFILE_LOADER_H_

Powered by Google App Engine
This is Rietveld 408576698