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

Side by Side Diff: chrome/browser/api/webdata/web_data_service_consumer.h

Issue 13392014: Move c/b/webdata/ code to components/webdata/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pure merge 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_API_WEBDATA_WEB_DATA_SERVICE_CONSUMER_H_
6 #define CHROME_BROWSER_API_WEBDATA_WEB_DATA_SERVICE_CONSUMER_H_
7
8 #include "chrome/browser/api/webdata/web_data_results.h"
9 #include "chrome/browser/api/webdata/web_data_service_base.h"
10
11 // All requests to the web data service are asynchronous. When the request has
12 // been performed, the data consumer is notified using the following interface.
13 class WebDataServiceConsumer {
14 public:
15 // Called when a request is done. h uniquely identifies the request.
16 // result can be NULL, if no result is expected or if the database could
17 // not be opened. The result object is destroyed after this call.
18 virtual void OnWebDataServiceRequestDone(WebDataServiceBase::Handle h,
19 const WDTypedResult* result) = 0;
20
21 protected:
22 virtual ~WebDataServiceConsumer() {}
23 };
24
25
26 #endif // CHROME_BROWSER_API_WEBDATA_WEB_DATA_SERVICE_CONSUMER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698