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/api/syncable_service.h" |
15 #include "sql/init_status.h" | 16 #include "sql/init_status.h" |
16 #include "sync/api/syncable_service.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 { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 scoped_refptr<TokenWebData> token_web_data_; | 86 scoped_refptr<TokenWebData> token_web_data_; |
87 | 87 |
88 #if defined(OS_WIN) | 88 #if defined(OS_WIN) |
89 scoped_refptr<PasswordWebDataService> password_web_data_; | 89 scoped_refptr<PasswordWebDataService> password_web_data_; |
90 #endif | 90 #endif |
91 | 91 |
92 DISALLOW_COPY_AND_ASSIGN(WebDataServiceWrapper); | 92 DISALLOW_COPY_AND_ASSIGN(WebDataServiceWrapper); |
93 }; | 93 }; |
94 | 94 |
95 #endif // COMPONENTS_WEBDATA_SERVICES_WEB_DATA_SERVICE_WRAPPER_H_ | 95 #endif // COMPONENTS_WEBDATA_SERVICES_WEB_DATA_SERVICE_WRAPPER_H_ |
OLD | NEW |