| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_WEB_DATA_SERVICE_H__ | 5 #ifndef CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__ |
| 6 #define CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__ | 6 #define CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/lock.h" | 11 #include "base/lock.h" |
| 12 #include "base/message_loop.h" | 12 #include "base/message_loop.h" |
| 13 #include "base/ref_counted.h" | 13 #include "base/ref_counted.h" |
| 14 #include "base/scoped_vector.h" |
| 14 #include "base/thread.h" | 15 #include "base/thread.h" |
| 15 #include "chrome/browser/webdata/web_database.h" | 16 #include "chrome/browser/webdata/web_database.h" |
| 16 #include "chrome/common/scoped_vector.h" | |
| 17 #include "webkit/glue/autofill_form.h" | 17 #include "webkit/glue/autofill_form.h" |
| 18 | 18 |
| 19 #if defined(OS_WIN) | 19 #if defined(OS_WIN) |
| 20 struct IE7PasswordInfo; | 20 struct IE7PasswordInfo; |
| 21 #endif | 21 #endif |
| 22 struct PasswordForm; | 22 struct PasswordForm; |
| 23 class FilePath; | 23 class FilePath; |
| 24 class GURL; | 24 class GURL; |
| 25 class ShutdownTask; | 25 class ShutdownTask; |
| 26 class TemplateURL; | 26 class TemplateURL; |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 526 public: | 526 public: |
| 527 | 527 |
| 528 // Called when a request is done. h uniquely identifies the request. | 528 // Called when a request is done. h uniquely identifies the request. |
| 529 // result can be NULL, if no result is expected or if the database could | 529 // result can be NULL, if no result is expected or if the database could |
| 530 // not be opened. The result object is destroyed after this call. | 530 // not be opened. The result object is destroyed after this call. |
| 531 virtual void OnWebDataServiceRequestDone(WebDataService::Handle h, | 531 virtual void OnWebDataServiceRequestDone(WebDataService::Handle h, |
| 532 const WDTypedResult* result) = 0; | 532 const WDTypedResult* result) = 0; |
| 533 }; | 533 }; |
| 534 | 534 |
| 535 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__ | 535 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__ |
| OLD | NEW |