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

Side by Side Diff: components/autofill/browser/personal_data_manager_observer.h

Issue 13928035: WIP Component build of autofill Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make windows compiling Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_AUTOFILL_BROWSER_PERSONAL_DATA_MANAGER_OBSERVER_H_ 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_PERSONAL_DATA_MANAGER_OBSERVER_H_
6 #define COMPONENTS_AUTOFILL_BROWSER_PERSONAL_DATA_MANAGER_OBSERVER_H_ 6 #define COMPONENTS_AUTOFILL_BROWSER_PERSONAL_DATA_MANAGER_OBSERVER_H_
7 7
8 #include "components/autofill/common/autofill_export.h"
9
8 namespace autofill { 10 namespace autofill {
9 11
10 // An interface the PersonalDataManager uses to notify its clients (observers) 12 // An interface the PersonalDataManager uses to notify its clients (observers)
11 // when it has finished loading personal data from the web database. Register 13 // when it has finished loading personal data from the web database. Register
12 // observers via PersonalDataManager::AddObserver. 14 // observers via PersonalDataManager::AddObserver.
13 class PersonalDataManagerObserver { 15 class AUTOFILL_EXPORT PersonalDataManagerObserver {
14 public: 16 public:
15 // Notifies the observer that the PersonalDataManager changed in some way. 17 // Notifies the observer that the PersonalDataManager changed in some way.
16 virtual void OnPersonalDataChanged() = 0; 18 virtual void OnPersonalDataChanged() = 0;
17 virtual void OnInsufficientFormData() {} 19 virtual void OnInsufficientFormData() {}
18 20
19 protected: 21 protected:
20 virtual ~PersonalDataManagerObserver() {} 22 virtual ~PersonalDataManagerObserver() {}
21 }; 23 };
22 24
23 } // namespace autofill 25 } // namespace autofill
24 26
25 #endif // COMPONENTS_AUTOFILL_BROWSER_PERSONAL_DATA_MANAGER_OBSERVER_H_ 27 #endif // COMPONENTS_AUTOFILL_BROWSER_PERSONAL_DATA_MANAGER_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698