OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "chrome/browser/webdata/web_database_service_impl.h" | 5 #include "chrome/browser/webdata/web_database_service_impl.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/location.h" | 9 #include "base/location.h" |
10 #include "chrome/browser/api/webdata/web_data_results.h" | 10 #include "chrome/browser/api/webdata/web_data_results.h" |
11 #include "chrome/browser/api/webdata/web_data_service_consumer.h" | 11 #include "chrome/browser/api/webdata/web_data_service_consumer.h" |
12 // TODO(caitkp): Remove this autofill dependency. | 12 // TODO(caitkp): Remove this autofill dependency. |
13 #include "chrome/browser/autofill/autofill_country.h" | |
14 #include "chrome/browser/profiles/profile_manager.h" | 13 #include "chrome/browser/profiles/profile_manager.h" |
15 #include "chrome/browser/webdata/web_data_request_manager.h" | 14 #include "chrome/browser/webdata/web_data_request_manager.h" |
16 #include "chrome/browser/webdata/web_data_service.h" | 15 #include "chrome/browser/webdata/web_data_service.h" |
| 16 #include "components/autofill/browser/autofill_country.h" |
17 | 17 |
18 using base::Bind; | 18 using base::Bind; |
19 using base::FilePath; | 19 using base::FilePath; |
20 using content::BrowserThread; | 20 using content::BrowserThread; |
21 | 21 |
22 | 22 |
23 //////////////////////////////////////////////////////////////////////////////// | 23 //////////////////////////////////////////////////////////////////////////////// |
24 // | 24 // |
25 // WebDatabaseServiceInternal implementation. | 25 // WebDatabaseServiceInternal implementation. |
26 // | 26 // |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 void WebDatabaseServiceImpl::CancelRequest(WebDataServiceBase::Handle h) { | 261 void WebDatabaseServiceImpl::CancelRequest(WebDataServiceBase::Handle h) { |
262 if (wdbs_internal_) | 262 if (wdbs_internal_) |
263 wdbs_internal_->request_manager()->CancelRequest(h); | 263 wdbs_internal_->request_manager()->CancelRequest(h); |
264 } | 264 } |
265 | 265 |
266 // Testing | 266 // Testing |
267 void WebDatabaseServiceImpl::set_init_complete(bool complete) { | 267 void WebDatabaseServiceImpl::set_init_complete(bool complete) { |
268 if (wdbs_internal_) | 268 if (wdbs_internal_) |
269 wdbs_internal_->set_init_complete(complete); | 269 wdbs_internal_->set_init_complete(complete); |
270 } | 270 } |
OLD | NEW |