OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/printing/print_dialog_cloud.h" | 5 #include "chrome/browser/printing/print_dialog_cloud.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/thread_task_runner_handle.h" | 9 #include "base/threading/thread_task_runner_handle.h" |
10 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
11 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
12 #include "chrome/browser/ui/browser.h" | 12 #include "chrome/browser/ui/browser.h" |
13 #include "chrome/browser/ui/browser_window.h" | 13 #include "chrome/browser/ui/browser_window.h" |
14 #include "components/cloud_devices/common/cloud_devices_urls.h" | 14 #include "components/cloud_devices/common/cloud_devices_urls.h" |
15 #include "components/google/core/browser/google_util.h" | 15 #include "components/google/core/browser/google_util.h" |
16 #include "components/signin/core/browser/signin_header_helper.h" | 16 #include "components/signin/core/browser/signin_header_helper.h" |
17 #include "components/signin/core/browser/signin_metrics.h" | 17 #include "components/signin/core/browser/signin_metrics.h" |
18 #include "components/signin/core/common/profile_management_switches.h" | 18 #include "components/signin/core/common/profile_management_switches.h" |
19 #include "content/public/browser/browser_thread.h" | 19 #include "content/public/browser/browser_thread.h" |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 url, g_browser_process->GetApplicationLocale()), | 82 url, g_browser_process->GetApplicationLocale()), |
83 content::Referrer(), | 83 content::Referrer(), |
84 NEW_FOREGROUND_TAB, | 84 NEW_FOREGROUND_TAB, |
85 ui::PAGE_TRANSITION_AUTO_BOOKMARK, | 85 ui::PAGE_TRANSITION_AUTO_BOOKMARK, |
86 false)); | 86 false)); |
87 new SignInObserver(web_contents, callback); | 87 new SignInObserver(web_contents, callback); |
88 } | 88 } |
89 } | 89 } |
90 | 90 |
91 } // namespace print_dialog_cloud | 91 } // namespace print_dialog_cloud |
OLD | NEW |