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

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

Issue 2345843003: [Sync] Merge //components/browser_sync into one directory. (Closed)
Patch Set: Address comment + rebase. Created 4 years, 3 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/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
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
OLDNEW
« no previous file with comments | « components/browser_sync/signin_confirmation_helper.h ('k') | components/browser_sync/test_http_bridge_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698