| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <windows.h> | 5 #include <windows.h> |
| 6 | 6 |
| 7 #include "chrome/browser/webdata/web_data_service.h" | 7 #include "chrome/browser/webdata/web_data_service.h" |
| 8 | 8 |
| 9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
| 10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| 11 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
| 12 #include "chrome/browser/password_manager/ie7_password.h" | 12 #include "chrome/browser/password_manager/ie7_password.h" |
| 13 #include "chrome/browser/template_url.h" | 13 #include "chrome/browser/search_engines/template_url.h" |
| 14 #include "chrome/common/chrome_constants.h" | 14 #include "chrome/common/chrome_constants.h" |
| 15 #include "webkit/glue/password_form.h" | 15 #include "webkit/glue/password_form.h" |
| 16 #include "webkit/glue/autofill_form.h" | 16 #include "webkit/glue/autofill_form.h" |
| 17 | 17 |
| 18 //////////////////////////////////////////////////////////////////////////////// | 18 //////////////////////////////////////////////////////////////////////////////// |
| 19 // | 19 // |
| 20 // WebDataService implementation. | 20 // WebDataService implementation. |
| 21 // | 21 // |
| 22 //////////////////////////////////////////////////////////////////////////////// | 22 //////////////////////////////////////////////////////////////////////////////// |
| 23 | 23 |
| (...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 734 &WebDataService::RequestCompleted, | 734 &WebDataService::RequestCompleted, |
| 735 handle_); | 735 handle_); |
| 736 message_loop_->PostTask(FROM_HERE, t); | 736 message_loop_->PostTask(FROM_HERE, t); |
| 737 } | 737 } |
| 738 | 738 |
| 739 int WebDataService::GetNextRequestHandle() { | 739 int WebDataService::GetNextRequestHandle() { |
| 740 AutoLock l(pending_lock_); | 740 AutoLock l(pending_lock_); |
| 741 return ++next_request_handle_; | 741 return ++next_request_handle_; |
| 742 } | 742 } |
| 743 | 743 |
| OLD | NEW |