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

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

Issue 192633002: Move ContentAutofillDriver to the PasswordManager component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « components/password_manager/content/browser/content_password_manager_driver.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/password_manager/content_password_manager_driver.h" 5 #include "components/password_manager/content/browser/content_password_manager_d river.h"
6 6
7 #include "components/autofill/content/browser/autofill_driver_impl.h" 7 #include "components/autofill/content/browser/autofill_driver_impl.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 "content/public/browser/browser_context.h" 11 #include "content/public/browser/browser_context.h"
12 #include "content/public/browser/navigation_details.h" 12 #include "content/public/browser/navigation_details.h"
13 #include "content/public/browser/navigation_entry.h" 13 #include "content/public/browser/navigation_entry.h"
14 #include "content/public/browser/render_view_host.h" 14 #include "content/public/browser/render_view_host.h"
15 #include "content/public/browser/web_contents.h" 15 #include "content/public/browser/web_contents.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 IPC_END_MESSAGE_MAP() 98 IPC_END_MESSAGE_MAP()
99 99
100 return handled; 100 return handled;
101 } 101 }
102 102
103 autofill::AutofillManager* ContentPasswordManagerDriver::GetAutofillManager() { 103 autofill::AutofillManager* ContentPasswordManagerDriver::GetAutofillManager() {
104 autofill::AutofillDriverImpl* driver = 104 autofill::AutofillDriverImpl* driver =
105 autofill::AutofillDriverImpl::FromWebContents(web_contents()); 105 autofill::AutofillDriverImpl::FromWebContents(web_contents());
106 return driver ? driver->autofill_manager() : NULL; 106 return driver ? driver->autofill_manager() : NULL;
107 } 107 }
OLDNEW
« no previous file with comments | « components/password_manager/content/browser/content_password_manager_driver.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698