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

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

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflicts Created 7 years, 6 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_CORE_BROWSER_PERSONAL_DATA_MANAGER_OBSERVER_H_
6 #define COMPONENTS_AUTOFILL_BROWSER_PERSONAL_DATA_MANAGER_OBSERVER_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_PERSONAL_DATA_MANAGER_OBSERVER_H_
7 7
8 namespace autofill { 8 namespace autofill {
9 9
10 // An interface the PersonalDataManager uses to notify its clients (observers) 10 // An interface the PersonalDataManager uses to notify its clients (observers)
11 // when it has finished loading personal data from the web database. Register 11 // when it has finished loading personal data from the web database. Register
12 // observers via PersonalDataManager::AddObserver. 12 // observers via PersonalDataManager::AddObserver.
13 class PersonalDataManagerObserver { 13 class PersonalDataManagerObserver {
14 public: 14 public:
15 // Notifies the observer that the PersonalDataManager changed in some way. 15 // Notifies the observer that the PersonalDataManager changed in some way.
16 virtual void OnPersonalDataChanged() = 0; 16 virtual void OnPersonalDataChanged() = 0;
17 virtual void OnInsufficientFormData() {} 17 virtual void OnInsufficientFormData() {}
18 18
19 protected: 19 protected:
20 virtual ~PersonalDataManagerObserver() {} 20 virtual ~PersonalDataManagerObserver() {}
21 }; 21 };
22 22
23 } // namespace autofill 23 } // namespace autofill
24 24
25 #endif // COMPONENTS_AUTOFILL_BROWSER_PERSONAL_DATA_MANAGER_OBSERVER_H_ 25 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_PERSONAL_DATA_MANAGER_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698