| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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.h" |
| 9 #include "base/task.h" | 9 #include "base/task.h" |
| 10 #include "base/threading/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/ui/profile_error_dialog.h" | 14 #include "chrome/browser/ui/profile_error_dialog.h" |
| 15 #include "chrome/browser/webdata/autofill_change.h" | 15 #include "chrome/browser/webdata/autofill_change.h" |
| 16 #include "chrome/browser/webdata/autofill_entry.h" | 16 #include "chrome/browser/webdata/autofill_entry.h" |
| 17 #include "chrome/browser/webdata/web_database.h" | 17 #include "chrome/browser/webdata/web_database.h" |
| 18 #include "chrome/common/chrome_constants.h" | 18 #include "chrome/common/chrome_constants.h" |
| (...skipping 1309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1328 return result_; | 1328 return result_; |
| 1329 } | 1329 } |
| 1330 | 1330 |
| 1331 void WebDataService::WebDataRequest::RequestComplete() { | 1331 void WebDataService::WebDataRequest::RequestComplete() { |
| 1332 WebDataService* s = service_; | 1332 WebDataService* s = service_; |
| 1333 Task* t = NewRunnableMethod(s, | 1333 Task* t = NewRunnableMethod(s, |
| 1334 &WebDataService::RequestCompleted, | 1334 &WebDataService::RequestCompleted, |
| 1335 handle_); | 1335 handle_); |
| 1336 message_loop_->PostTask(FROM_HERE, t); | 1336 message_loop_->PostTask(FROM_HERE, t); |
| 1337 } | 1337 } |
| OLD | NEW |