OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_BROWSING_DATA_AUTOFILL_COUNTER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_AUTOFILL_COUNTER_H_ |
6 #define CHROME_BROWSER_BROWSING_DATA_AUTOFILL_COUNTER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_AUTOFILL_COUNTER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/threading/thread_checker.h" | 9 #include "base/threading/thread_checker.h" |
10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
11 #include "components/browsing_data/counters/browsing_data_counter.h" | 11 #include "components/browsing_data/core/counters/browsing_data_counter.h" |
12 #include "components/webdata/common/web_data_service_consumer.h" | 12 #include "components/webdata/common/web_data_service_consumer.h" |
13 | 13 |
14 class Profile; | 14 class Profile; |
15 | 15 |
16 namespace autofill { | 16 namespace autofill { |
17 class AutofillWebDataService; | 17 class AutofillWebDataService; |
18 } | 18 } |
19 | 19 |
20 class AutofillCounter : public browsing_data::BrowsingDataCounter, | 20 class AutofillCounter : public browsing_data::BrowsingDataCounter, |
21 public WebDataServiceConsumer { | 21 public WebDataServiceConsumer { |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 void OnWebDataServiceRequestDone(WebDataServiceBase::Handle handle, | 79 void OnWebDataServiceRequestDone(WebDataServiceBase::Handle handle, |
80 const WDTypedResult* result) override; | 80 const WDTypedResult* result) override; |
81 | 81 |
82 // Cancel all pending requests to AutofillWebdataService. | 82 // Cancel all pending requests to AutofillWebdataService. |
83 void CancelAllRequests(); | 83 void CancelAllRequests(); |
84 | 84 |
85 DISALLOW_COPY_AND_ASSIGN(AutofillCounter); | 85 DISALLOW_COPY_AND_ASSIGN(AutofillCounter); |
86 }; | 86 }; |
87 | 87 |
88 #endif // CHROME_BROWSER_BROWSING_DATA_AUTOFILL_COUNTER_H_ | 88 #endif // CHROME_BROWSER_BROWSING_DATA_AUTOFILL_COUNTER_H_ |
OLD | NEW |