| 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 #include "components/browser_sync/browser/signin_confirmation_helper.h" | 5 #include "components/browser_sync/signin_confirmation_helper.h" |
| 6 |
| 7 #include <memory> |
| 6 | 8 |
| 7 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
| 8 #include "base/threading/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
| 9 #include "components/history/core/browser/history_backend.h" | 11 #include "components/history/core/browser/history_backend.h" |
| 10 #include "components/history/core/browser/history_db_task.h" | 12 #include "components/history/core/browser/history_db_task.h" |
| 11 #include "components/history/core/browser/history_service.h" | 13 #include "components/history/core/browser/history_service.h" |
| 12 #include "components/history/core/browser/history_types.h" | 14 #include "components/history/core/browser/history_types.h" |
| 13 | 15 |
| 14 namespace { | 16 namespace { |
| 15 | 17 |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 if (--pending_requests_ == 0 || result) { | 111 if (--pending_requests_ == 0 || result) { |
| 110 return_result_.Run(result); | 112 return_result_.Run(result); |
| 111 | 113 |
| 112 // This leaks at shutdown if the HistoryService is destroyed, but | 114 // This leaks at shutdown if the HistoryService is destroyed, but |
| 113 // the process is going to die anyway. | 115 // the process is going to die anyway. |
| 114 delete this; | 116 delete this; |
| 115 } | 117 } |
| 116 } | 118 } |
| 117 | 119 |
| 118 } // namespace sync_driver | 120 } // namespace sync_driver |
| OLD | NEW |