OLD | NEW |
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 // Chromium settings and storage represent user-selected preferences and | 5 // Chromium settings and storage represent user-selected preferences and |
6 // information and MUST not be extracted, overwritten or modified except | 6 // information and MUST not be extracted, overwritten or modified except |
7 // through Chromium defined APIs. | 7 // through Chromium defined APIs. |
8 | 8 |
9 #ifndef CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__ | 9 #ifndef CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__ |
10 #define CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__ | 10 #define CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__ |
11 #pragma once | 11 #pragma once |
12 | 12 |
13 #include <map> | 13 #include <map> |
14 #include <string> | 14 #include <string> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "base/callback_forward.h" | 17 #include "base/callback_forward.h" |
18 #include "base/file_path.h" | 18 #include "base/file_path.h" |
19 #include "base/location.h" | 19 #include "base/location.h" |
20 #include "base/message_loop_helpers.h" | |
21 #include "base/memory/ref_counted.h" | 20 #include "base/memory/ref_counted.h" |
| 21 #include "base/sequenced_task_runner_helpers.h" |
22 #include "base/synchronization/lock.h" | 22 #include "base/synchronization/lock.h" |
23 #include "chrome/browser/profiles/refcounted_profile_keyed_service.h" | 23 #include "chrome/browser/profiles/refcounted_profile_keyed_service.h" |
24 #include "chrome/browser/search_engines/template_url.h" | 24 #include "chrome/browser/search_engines/template_url.h" |
25 #include "chrome/browser/search_engines/template_url_id.h" | 25 #include "chrome/browser/search_engines/template_url_id.h" |
26 #include "chrome/browser/webdata/keyword_table.h" | 26 #include "chrome/browser/webdata/keyword_table.h" |
27 #include "content/public/browser/browser_thread.h" | 27 #include "content/public/browser/browser_thread.h" |
28 #include "sql/init_status.h" | 28 #include "sql/init_status.h" |
29 | 29 |
30 class AutocompleteSyncableService; | 30 class AutocompleteSyncableService; |
31 class AutofillChange; | 31 class AutofillChange; |
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
738 // result can be NULL, if no result is expected or if the database could | 738 // result can be NULL, if no result is expected or if the database could |
739 // not be opened. The result object is destroyed after this call. | 739 // not be opened. The result object is destroyed after this call. |
740 virtual void OnWebDataServiceRequestDone(WebDataService::Handle h, | 740 virtual void OnWebDataServiceRequestDone(WebDataService::Handle h, |
741 const WDTypedResult* result) = 0; | 741 const WDTypedResult* result) = 0; |
742 | 742 |
743 protected: | 743 protected: |
744 virtual ~WebDataServiceConsumer() {} | 744 virtual ~WebDataServiceConsumer() {} |
745 }; | 745 }; |
746 | 746 |
747 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__ | 747 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__ |
OLD | NEW |