OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/signin/chrome_signin_helper.h" | 5 #include "chrome/browser/signin/chrome_signin_helper.h" |
6 | 6 |
7 #include "base/strings/string_util.h" | 7 #include "base/strings/string_util.h" |
| 8 #include "build/build_config.h" |
8 #include "chrome/browser/prefs/incognito_mode_prefs.h" | 9 #include "chrome/browser/prefs/incognito_mode_prefs.h" |
9 #include "chrome/browser/profiles/profile_io_data.h" | 10 #include "chrome/browser/profiles/profile_io_data.h" |
10 #include "chrome/browser/signin/account_reconcilor_factory.h" | 11 #include "chrome/browser/signin/account_reconcilor_factory.h" |
11 #include "chrome/browser/signin/chrome_signin_client.h" | 12 #include "chrome/browser/signin/chrome_signin_client.h" |
12 #include "chrome/browser/tab_contents/tab_util.h" | 13 #include "chrome/browser/tab_contents/tab_util.h" |
13 #include "chrome/browser/ui/browser_window.h" | 14 #include "chrome/browser/ui/browser_window.h" |
14 #include "chrome/common/features.h" | 15 #include "chrome/common/features.h" |
15 #include "chrome/common/url_constants.h" | 16 #include "chrome/common/url_constants.h" |
16 #include "components/signin/core/browser/account_reconcilor.h" | 17 #include "components/signin/core/browser/account_reconcilor.h" |
17 #include "components/signin/core/browser/signin_header_helper.h" | 18 #include "components/signin/core/browser/signin_header_helper.h" |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 return; | 163 return; |
163 | 164 |
164 params.child_id = child_id; | 165 params.child_id = child_id; |
165 params.route_id = route_id; | 166 params.route_id = route_id; |
166 content::BrowserThread::PostTask( | 167 content::BrowserThread::PostTask( |
167 content::BrowserThread::UI, FROM_HERE, | 168 content::BrowserThread::UI, FROM_HERE, |
168 base::Bind(ProcessMirrorHeaderUIThread, child_id, route_id, params)); | 169 base::Bind(ProcessMirrorHeaderUIThread, child_id, route_id, params)); |
169 } | 170 } |
170 | 171 |
171 } // namespace signin | 172 } // namespace signin |
OLD | NEW |