OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_data_service.h" | 5 #include "chrome/browser/webdata/web_data_service.h" |
6 | 6 |
7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "base/stl_util-inl.h" | 8 #include "base/stl_util-inl.h" |
9 #include "base/task.h" | 9 #include "base/task.h" |
10 #include "base/thread.h" | 10 #include "base/threading/thread.h" |
11 #include "chrome/browser/autofill/autofill_profile.h" | 11 #include "chrome/browser/autofill/autofill_profile.h" |
12 #include "chrome/browser/autofill/credit_card.h" | 12 #include "chrome/browser/autofill/credit_card.h" |
13 #include "chrome/browser/search_engines/template_url.h" | 13 #include "chrome/browser/search_engines/template_url.h" |
14 #include "chrome/browser/webdata/autofill_change.h" | 14 #include "chrome/browser/webdata/autofill_change.h" |
15 #include "chrome/browser/webdata/autofill_entry.h" | 15 #include "chrome/browser/webdata/autofill_entry.h" |
16 #include "chrome/browser/webdata/web_database.h" | 16 #include "chrome/browser/webdata/web_database.h" |
17 #include "chrome/common/chrome_constants.h" | 17 #include "chrome/common/chrome_constants.h" |
18 #include "chrome/common/notification_details.h" | 18 #include "chrome/common/notification_details.h" |
19 #include "chrome/common/notification_service.h" | 19 #include "chrome/common/notification_service.h" |
20 #include "chrome/common/notification_source.h" | 20 #include "chrome/common/notification_source.h" |
(...skipping 1254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1275 return result_; | 1275 return result_; |
1276 } | 1276 } |
1277 | 1277 |
1278 void WebDataService::WebDataRequest::RequestComplete() { | 1278 void WebDataService::WebDataRequest::RequestComplete() { |
1279 WebDataService* s = service_; | 1279 WebDataService* s = service_; |
1280 Task* t = NewRunnableMethod(s, | 1280 Task* t = NewRunnableMethod(s, |
1281 &WebDataService::RequestCompleted, | 1281 &WebDataService::RequestCompleted, |
1282 handle_); | 1282 handle_); |
1283 message_loop_->PostTask(FROM_HERE, t); | 1283 message_loop_->PostTask(FROM_HERE, t); |
1284 } | 1284 } |
OLD | NEW |