Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(604)

Side by Side Diff: components/browser_sync/browser/signin_confirmation_helper.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/browser/signin_confirmation_helper.h"
6 6
7 #include "base/strings/string16.h" 7 #include "base/strings/string16.h"
8 #include "base/thread_task_runner_handle.h" 8 #include "base/threading/thread_task_runner_handle.h"
9 #include "components/history/core/browser/history_backend.h" 9 #include "components/history/core/browser/history_backend.h"
10 #include "components/history/core/browser/history_db_task.h" 10 #include "components/history/core/browser/history_db_task.h"
11 #include "components/history/core/browser/history_service.h" 11 #include "components/history/core/browser/history_service.h"
12 #include "components/history/core/browser/history_types.h" 12 #include "components/history/core/browser/history_types.h"
13 13
14 namespace { 14 namespace {
15 15
16 // Determines whether there are any typed URLs in a history backend. 16 // Determines whether there are any typed URLs in a history backend.
17 class HasTypedURLsTask : public history::HistoryDBTask { 17 class HasTypedURLsTask : public history::HistoryDBTask {
18 public: 18 public:
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 if (--pending_requests_ == 0 || result) { 109 if (--pending_requests_ == 0 || result) {
110 return_result_.Run(result); 110 return_result_.Run(result);
111 111
112 // This leaks at shutdown if the HistoryService is destroyed, but 112 // This leaks at shutdown if the HistoryService is destroyed, but
113 // the process is going to die anyway. 113 // the process is going to die anyway.
114 delete this; 114 delete this;
115 } 115 }
116 } 116 }
117 117
118 } // namespace sync_driver 118 } // namespace sync_driver
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698