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

Side by Side Diff: chrome/browser/webdata/autofill_web_data_service_impl.h

Issue 12476031: Refactor notifications of chrome/browser/webdata (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_IMPL_H_ 5 #ifndef CHROME_BROWSER_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_IMPL_H_
6 #define CHROME_BROWSER_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_IMPL_H_ 6 #define CHROME_BROWSER_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_IMPL_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "chrome/browser/api/webdata/autofill_web_data_service.h" 9 #include "chrome/browser/api/webdata/autofill_web_data_service.h"
10 10
(...skipping 23 matching lines...) Expand all
34 virtual WebDataServiceBase::Handle GetAutofillProfiles( 34 virtual WebDataServiceBase::Handle GetAutofillProfiles(
35 WebDataServiceConsumer* consumer) OVERRIDE; 35 WebDataServiceConsumer* consumer) OVERRIDE;
36 virtual void AddCreditCard(const CreditCard& credit_card) OVERRIDE; 36 virtual void AddCreditCard(const CreditCard& credit_card) OVERRIDE;
37 virtual void UpdateCreditCard(const CreditCard& credit_card) OVERRIDE; 37 virtual void UpdateCreditCard(const CreditCard& credit_card) OVERRIDE;
38 virtual void RemoveCreditCard(const std::string& guid) OVERRIDE; 38 virtual void RemoveCreditCard(const std::string& guid) OVERRIDE;
39 virtual WebDataServiceBase::Handle 39 virtual WebDataServiceBase::Handle
40 GetCreditCards(WebDataServiceConsumer* consumer) OVERRIDE; 40 GetCreditCards(WebDataServiceConsumer* consumer) OVERRIDE;
41 41
42 // WebDataServiceBase implementation. 42 // WebDataServiceBase implementation.
43 virtual void CancelRequest(Handle h) OVERRIDE; 43 virtual void CancelRequest(Handle h) OVERRIDE;
44 virtual content::NotificationSource GetNotificationSource() OVERRIDE; 44
45 // AutofillWebDataService implementation.
dhollowa 2013/03/12 22:22:28 Please confirm with joi@ that this conforms to his
Jói 2013/03/12 22:28:18 Yeah, this is OK, although once we get further alo
46 virtual void AddObserver(WebDataServiceObserver* observer) OVERRIDE;
47 virtual void RemoveObserver(WebDataServiceObserver* observer) OVERRIDE;
45 48
46 private: 49 private:
47 DISALLOW_COPY_AND_ASSIGN(AutofillWebDataServiceImpl); 50 DISALLOW_COPY_AND_ASSIGN(AutofillWebDataServiceImpl);
48 51
49 const scoped_refptr<WebDataService> service_; 52 const scoped_refptr<WebDataService> service_;
50 }; 53 };
51 54
52 #endif // CHROME_BROWSER_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_IMPL_H_ 55 #endif // CHROME_BROWSER_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698