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

Side by Side Diff: components/password_manager/content/browser/content_password_manager_driver.cc

Issue 562603002: Move PageTransition from //content/public/common to //ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 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 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 "components/password_manager/content/browser/content_password_manager_d river.h" 5 #include "components/password_manager/content/browser/content_password_manager_d river.h"
6 6
7 #include "components/autofill/content/browser/content_autofill_driver.h" 7 #include "components/autofill/content/browser/content_autofill_driver.h"
8 #include "components/autofill/content/common/autofill_messages.h" 8 #include "components/autofill/content/common/autofill_messages.h"
9 #include "components/autofill/core/common/form_data.h" 9 #include "components/autofill/core/common/form_data.h"
10 #include "components/autofill/core/common/password_form.h" 10 #include "components/autofill/core/common/password_form.h"
11 #include "components/password_manager/core/browser/password_manager_client.h" 11 #include "components/password_manager/core/browser/password_manager_client.h"
12 #include "content/public/browser/browser_context.h" 12 #include "content/public/browser/browser_context.h"
13 #include "content/public/browser/navigation_details.h" 13 #include "content/public/browser/navigation_details.h"
14 #include "content/public/browser/navigation_entry.h" 14 #include "content/public/browser/navigation_entry.h"
15 #include "content/public/browser/render_view_host.h" 15 #include "content/public/browser/render_view_host.h"
16 #include "content/public/browser/web_contents.h" 16 #include "content/public/browser/web_contents.h"
17 #include "content/public/common/page_transition_types.h"
18 #include "content/public/common/ssl_status.h" 17 #include "content/public/common/ssl_status.h"
19 #include "ipc/ipc_message_macros.h" 18 #include "ipc/ipc_message_macros.h"
20 #include "net/cert/cert_status_flags.h" 19 #include "net/cert/cert_status_flags.h"
21 20
22 namespace password_manager { 21 namespace password_manager {
23 22
24 ContentPasswordManagerDriver::ContentPasswordManagerDriver( 23 ContentPasswordManagerDriver::ContentPasswordManagerDriver(
25 content::WebContents* web_contents, 24 content::WebContents* web_contents,
26 PasswordManagerClient* client, 25 PasswordManagerClient* client,
27 autofill::AutofillClient* autofill_client) 26 autofill::AutofillClient* autofill_client)
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 return handled; 145 return handled;
147 } 146 }
148 147
149 autofill::AutofillManager* ContentPasswordManagerDriver::GetAutofillManager() { 148 autofill::AutofillManager* ContentPasswordManagerDriver::GetAutofillManager() {
150 autofill::ContentAutofillDriver* driver = 149 autofill::ContentAutofillDriver* driver =
151 autofill::ContentAutofillDriver::FromWebContents(web_contents()); 150 autofill::ContentAutofillDriver::FromWebContents(web_contents());
152 return driver ? driver->autofill_manager() : NULL; 151 return driver ? driver->autofill_manager() : NULL;
153 } 152 }
154 153
155 } // namespace password_manager 154 } // namespace password_manager
OLDNEW
« no previous file with comments | « components/omnibox/keyword_provider.cc ('k') | components/renderer_context_menu/render_view_context_menu_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698