OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_WEBDATA_SERVICES_WEB_DATA_SERVICE_WRAPPER_H_ | 5 #ifndef COMPONENTS_WEBDATA_SERVICES_WEB_DATA_SERVICE_WRAPPER_H_ |
6 #define COMPONENTS_WEBDATA_SERVICES_WEB_DATA_SERVICE_WRAPPER_H_ | 6 #define COMPONENTS_WEBDATA_SERVICES_WEB_DATA_SERVICE_WRAPPER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
14 #include "components/keyed_service/core/keyed_service.h" | 14 #include "components/keyed_service/core/keyed_service.h" |
15 #include "components/sync/model/syncable_service.h" | 15 #include "components/sync/model/syncable_service.h" |
16 #include "sql/init_status.h" | 16 #include "sql/init_status.h" |
17 | 17 |
18 class KeywordWebDataService; | 18 class KeywordWebDataService; |
19 class TokenWebData; | 19 class TokenWebData; |
20 class WebDatabaseService; | 20 class WebDatabaseService; |
21 | 21 |
22 #if defined(OS_WIN) | 22 #if defined(OS_WIN) |
23 class PasswordWebDataService; | 23 class PasswordWebDataService; |
24 #endif | 24 #endif |
25 | 25 |
26 namespace autofill { | 26 namespace autofill { |
27 class AutofillWebDataBackend; | |
28 class AutofillWebDataService; | 27 class AutofillWebDataService; |
29 } // namespace autofill | 28 } // namespace autofill |
30 | 29 |
31 namespace base { | 30 namespace base { |
32 class FilePath; | 31 class FilePath; |
33 class SingleThreadTaskRunner; | 32 class SingleThreadTaskRunner; |
34 } // namespace base | 33 } // namespace base |
35 | 34 |
36 // WebDataServiceWrapper is a KeyedService that owns multiple WebDataServices | 35 // WebDataServiceWrapper is a KeyedService that owns multiple WebDataServices |
37 // so that they can be associated with a context. | 36 // so that they can be associated with a context. |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 scoped_refptr<TokenWebData> token_web_data_; | 92 scoped_refptr<TokenWebData> token_web_data_; |
94 | 93 |
95 #if defined(OS_WIN) | 94 #if defined(OS_WIN) |
96 scoped_refptr<PasswordWebDataService> password_web_data_; | 95 scoped_refptr<PasswordWebDataService> password_web_data_; |
97 #endif | 96 #endif |
98 | 97 |
99 DISALLOW_COPY_AND_ASSIGN(WebDataServiceWrapper); | 98 DISALLOW_COPY_AND_ASSIGN(WebDataServiceWrapper); |
100 }; | 99 }; |
101 | 100 |
102 #endif // COMPONENTS_WEBDATA_SERVICES_WEB_DATA_SERVICE_WRAPPER_H_ | 101 #endif // COMPONENTS_WEBDATA_SERVICES_WEB_DATA_SERVICE_WRAPPER_H_ |
OLD | NEW |