| Index: chrome/browser/autofill/autofill_ie_toolbar_import_win.cc
|
| diff --git a/chrome/browser/autofill/autofill_ie_toolbar_import_win.cc b/chrome/browser/autofill/autofill_ie_toolbar_import_win.cc
|
| index eacbacba8d42c61353be609737bb9b92106735c8..cec09d668c4e9747953c6cf8b29fdb111863c879 100644
|
| --- a/chrome/browser/autofill/autofill_ie_toolbar_import_win.cc
|
| +++ b/chrome/browser/autofill/autofill_ie_toolbar_import_win.cc
|
| @@ -10,6 +10,7 @@
|
| #include <vector>
|
|
|
| #include "base/basictypes.h"
|
| +#include "base/compiler_specific.h"
|
| #include "base/logging.h"
|
| #include "base/string16.h"
|
| #include "base/win/registry.h"
|
| @@ -19,6 +20,7 @@
|
| #include "chrome/browser/autofill/field_types.h"
|
| #include "chrome/browser/autofill/form_group.h"
|
| #include "chrome/browser/autofill/personal_data_manager.h"
|
| +#include "chrome/browser/autofill/personal_data_manager_observer.h"
|
| #include "chrome/browser/autofill/phone_number.h"
|
| #include "chrome/browser/autofill/phone_number_i18n.h"
|
| #include "chrome/browser/sync/util/data_encryption.h"
|
| @@ -174,7 +176,7 @@ bool ImportSingleProfile(FormGroup* profile,
|
|
|
| // Imports profiles from the IE toolbar and stores them. Asynchronous
|
| // if PersonalDataManager has not been loaded yet. Deletes itself on completion.
|
| -class AutofillImporter : public PersonalDataManager::Observer {
|
| +class AutofillImporter : public PersonalDataManagerObserver {
|
| public:
|
| explicit AutofillImporter(PersonalDataManager* personal_data_manager)
|
| : personal_data_manager_(personal_data_manager) {
|
| @@ -191,8 +193,8 @@ class AutofillImporter : public PersonalDataManager::Observer {
|
| return true;
|
| }
|
|
|
| - // PersonalDataManager::Observer methods:
|
| - virtual void OnPersonalDataChanged() {
|
| + // PersonalDataManagerObserver:
|
| + virtual void OnPersonalDataChanged() OVERRIDE {
|
| for (std::vector<AutofillProfile>::const_iterator iter = profiles_.begin();
|
| iter != profiles_.end(); ++iter) {
|
| personal_data_manager_->AddProfile(*iter);
|
|
|