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

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

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 years, 9 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 CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_OBSERVER_H_ 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_PERSONAL_DATA_MANAGER_OBSERVER_H_
6 #define CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_OBSERVER_H_ 6 #define COMPONENTS_AUTOFILL_BROWSER_PERSONAL_DATA_MANAGER_OBSERVER_H_
7 7
8 // An interface the PersonalDataManager uses to notify its clients (observers) 8 // An interface the PersonalDataManager uses to notify its clients (observers)
9 // when it has finished loading personal data from the web database. Register 9 // when it has finished loading personal data from the web database. Register
10 // observers via PersonalDataManager::AddObserver. 10 // observers via PersonalDataManager::AddObserver.
11 class PersonalDataManagerObserver { 11 class PersonalDataManagerObserver {
12 public: 12 public:
13 // Notifies the observer that the PersonalDataManager changed in some way. 13 // Notifies the observer that the PersonalDataManager changed in some way.
14 virtual void OnPersonalDataChanged() = 0; 14 virtual void OnPersonalDataChanged() = 0;
15 virtual void OnInsufficientFormData() {} 15 virtual void OnInsufficientFormData() {}
16 16
17 protected: 17 protected:
18 virtual ~PersonalDataManagerObserver() {} 18 virtual ~PersonalDataManagerObserver() {}
19 }; 19 };
20 20
21 #endif // CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_OBSERVER_H_ 21 #endif // COMPONENTS_AUTOFILL_BROWSER_PERSONAL_DATA_MANAGER_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698