OLD | NEW |
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_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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "app/sql/init_status.h" | |
14 #include "base/file_path.h" | 13 #include "base/file_path.h" |
15 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
16 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
17 #include "chrome/browser/search_engines/template_url_id.h" | 16 #include "chrome/browser/search_engines/template_url_id.h" |
18 #include "content/browser/browser_thread.h" | 17 #include "content/browser/browser_thread.h" |
| 18 #include "sql/init_status.h" |
19 | 19 |
20 class AutofillChange; | 20 class AutofillChange; |
21 class AutofillProfile; | 21 class AutofillProfile; |
22 class CreditCard; | 22 class CreditCard; |
23 class GURL; | 23 class GURL; |
24 #if defined(OS_WIN) | 24 #if defined(OS_WIN) |
25 struct IE7PasswordInfo; | 25 struct IE7PasswordInfo; |
26 #endif | 26 #endif |
27 class MessageLoop; | 27 class MessageLoop; |
28 class SkBitmap; | 28 class SkBitmap; |
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
656 // result can be NULL, if no result is expected or if the database could | 656 // result can be NULL, if no result is expected or if the database could |
657 // not be opened. The result object is destroyed after this call. | 657 // not be opened. The result object is destroyed after this call. |
658 virtual void OnWebDataServiceRequestDone(WebDataService::Handle h, | 658 virtual void OnWebDataServiceRequestDone(WebDataService::Handle h, |
659 const WDTypedResult* result) = 0; | 659 const WDTypedResult* result) = 0; |
660 | 660 |
661 protected: | 661 protected: |
662 virtual ~WebDataServiceConsumer() {} | 662 virtual ~WebDataServiceConsumer() {} |
663 }; | 663 }; |
664 | 664 |
665 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__ | 665 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__ |
OLD | NEW |