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

Side by Side Diff: chrome/browser/ui/autofill/chrome_autofill_client.cc

Issue 2847523002: Android: Remove GetApplicationContext part 4 (Closed)
Patch Set: Rebase and fix build Created 3 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 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 29 matching lines...) Expand all
40 #include "components/signin/core/browser/profile_identity_provider.h" 40 #include "components/signin/core/browser/profile_identity_provider.h"
41 #include "components/signin/core/browser/signin_header_helper.h" 41 #include "components/signin/core/browser/signin_header_helper.h"
42 #include "components/signin/core/browser/signin_metrics.h" 42 #include "components/signin/core/browser/signin_metrics.h"
43 #include "components/user_prefs/user_prefs.h" 43 #include "components/user_prefs/user_prefs.h"
44 #include "content/public/browser/navigation_entry.h" 44 #include "content/public/browser/navigation_entry.h"
45 #include "content/public/browser/render_frame_host.h" 45 #include "content/public/browser/render_frame_host.h"
46 #include "content/public/browser/ssl_status.h" 46 #include "content/public/browser/ssl_status.h"
47 #include "ui/gfx/geometry/rect.h" 47 #include "ui/gfx/geometry/rect.h"
48 48
49 #if defined(OS_ANDROID) 49 #if defined(OS_ANDROID)
50 #include "base/android/context_utils.h"
51 #include "chrome/browser/android/preferences/preferences_launcher.h" 50 #include "chrome/browser/android/preferences/preferences_launcher.h"
52 #include "chrome/browser/android/signin/signin_promo_util_android.h" 51 #include "chrome/browser/android/signin/signin_promo_util_android.h"
53 #include "chrome/browser/infobars/infobar_service.h" 52 #include "chrome/browser/infobars/infobar_service.h"
54 #include "chrome/browser/ui/android/autofill/autofill_logger_android.h" 53 #include "chrome/browser/ui/android/autofill/autofill_logger_android.h"
55 #include "chrome/browser/ui/android/infobars/autofill_credit_card_filling_infoba r.h" 54 #include "chrome/browser/ui/android/infobars/autofill_credit_card_filling_infoba r.h"
56 #include "components/autofill/core/browser/autofill_credit_card_filling_infobar_ delegate_mobile.h" 55 #include "components/autofill/core/browser/autofill_credit_card_filling_infobar_ delegate_mobile.h"
57 #include "components/autofill/core/browser/autofill_save_card_infobar_delegate_m obile.h" 56 #include "components/autofill/core/browser/autofill_save_card_infobar_delegate_m obile.h"
58 #include "components/autofill/core/browser/autofill_save_card_infobar_mobile.h" 57 #include "components/autofill/core/browser/autofill_save_card_infobar_mobile.h"
59 #include "components/infobars/core/infobar.h" 58 #include "components/infobars/core/infobar.h"
60 #include "content/public/browser/android/content_view_core.h" 59 #include "content/public/browser/android/content_view_core.h"
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 // directly. 388 // directly.
390 const GURL kSecurityIndicatorHelpCenterUrl( 389 const GURL kSecurityIndicatorHelpCenterUrl(
391 "https://support.google.com/chrome/?p=ui_security_indicator"); 390 "https://support.google.com/chrome/?p=ui_security_indicator");
392 web_contents()->OpenURL(content::OpenURLParams( 391 web_contents()->OpenURL(content::OpenURLParams(
393 GURL(kSecurityIndicatorHelpCenterUrl), content::Referrer(), 392 GURL(kSecurityIndicatorHelpCenterUrl), content::Referrer(),
394 WindowOpenDisposition::NEW_FOREGROUND_TAB, ui::PAGE_TRANSITION_LINK, 393 WindowOpenDisposition::NEW_FOREGROUND_TAB, ui::PAGE_TRANSITION_LINK,
395 false /* is_renderer_initiated */)); 394 false /* is_renderer_initiated */));
396 } 395 }
397 396
398 } // namespace autofill 397 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698