| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/ui/autofill/chrome_autofill_client.h" | 5 #include "chrome/browser/ui/autofill/chrome_autofill_client.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 login_callback)); | 138 login_callback)); |
| 139 } | 139 } |
| 140 | 140 |
| 141 return identity_provider_.get(); | 141 return identity_provider_.get(); |
| 142 } | 142 } |
| 143 | 143 |
| 144 rappor::RapporServiceImpl* ChromeAutofillClient::GetRapporServiceImpl() { | 144 rappor::RapporServiceImpl* ChromeAutofillClient::GetRapporServiceImpl() { |
| 145 return g_browser_process->rappor_service(); | 145 return g_browser_process->rappor_service(); |
| 146 } | 146 } |
| 147 | 147 |
| 148 ukm::UkmService* ChromeAutofillClient::GetUkmService() { | 148 ukm::UkmRecorder* ChromeAutofillClient::GetUkmRecorder() { |
| 149 return g_browser_process->ukm_service(); | 149 return g_browser_process->ukm_recorder(); |
| 150 } | 150 } |
| 151 | 151 |
| 152 SaveCardBubbleController* ChromeAutofillClient::GetSaveCardBubbleController() { | 152 SaveCardBubbleController* ChromeAutofillClient::GetSaveCardBubbleController() { |
| 153 #if defined(OS_ANDROID) | 153 #if defined(OS_ANDROID) |
| 154 return nullptr; | 154 return nullptr; |
| 155 #else | 155 #else |
| 156 return SaveCardBubbleControllerImpl::FromWebContents(web_contents()); | 156 return SaveCardBubbleControllerImpl::FromWebContents(web_contents()); |
| 157 #endif | 157 #endif |
| 158 } | 158 } |
| 159 | 159 |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 // directly. | 388 // directly. |
| 389 const GURL kSecurityIndicatorHelpCenterUrl( | 389 const GURL kSecurityIndicatorHelpCenterUrl( |
| 390 "https://support.google.com/chrome/?p=ui_security_indicator"); | 390 "https://support.google.com/chrome/?p=ui_security_indicator"); |
| 391 web_contents()->OpenURL(content::OpenURLParams( | 391 web_contents()->OpenURL(content::OpenURLParams( |
| 392 GURL(kSecurityIndicatorHelpCenterUrl), content::Referrer(), | 392 GURL(kSecurityIndicatorHelpCenterUrl), content::Referrer(), |
| 393 WindowOpenDisposition::NEW_FOREGROUND_TAB, ui::PAGE_TRANSITION_LINK, | 393 WindowOpenDisposition::NEW_FOREGROUND_TAB, ui::PAGE_TRANSITION_LINK, |
| 394 false /* is_renderer_initiated */)); | 394 false /* is_renderer_initiated */)); |
| 395 } | 395 } |
| 396 | 396 |
| 397 } // namespace autofill | 397 } // namespace autofill |
| OLD | NEW |