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

Side by Side Diff: components/autofill/browser/password_autofill_manager.h

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 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
OLDNEW
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 #ifndef CHROME_BROWSER_AUTOFILL_PASSWORD_AUTOFILL_MANAGER_H_ 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_PASSWORD_AUTOFILL_MANAGER_H_
6 #define CHROME_BROWSER_AUTOFILL_PASSWORD_AUTOFILL_MANAGER_H_ 6 #define COMPONENTS_AUTOFILL_BROWSER_PASSWORD_AUTOFILL_MANAGER_H_
7 7
8 // This file was contains some repeated code from 8 // This file was contains some repeated code from
9 // chrome/renderer/autofill/password_autofill_manager because as we move to the 9 // chrome/renderer/autofill/password_autofill_manager because as we move to the
10 // new Autofill UI we needs these functions in both the browser and renderer. 10 // new Autofill UI we needs these functions in both the browser and renderer.
11 // Once the move is completed the repeated code in the renderer half should be 11 // Once the move is completed the repeated code in the renderer half should be
12 // removed. 12 // removed.
13 // http://crbug.com/51644 13 // http://crbug.com/51644
14 14
15 #include <map> 15 #include <map>
16 16
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 LoginToPasswordInfoMap login_to_password_info_; 61 LoginToPasswordInfoMap login_to_password_info_;
62 62
63 // We only need the RenderViewHost pointer in WebContents, but if we attempt 63 // We only need the RenderViewHost pointer in WebContents, but if we attempt
64 // to just store RenderViewHost on creation, it becomes invalid once we start 64 // to just store RenderViewHost on creation, it becomes invalid once we start
65 // using it. By having the WebContents we can always get a valid pointer. 65 // using it. By having the WebContents we can always get a valid pointer.
66 content::WebContents* web_contents_; // Weak reference. 66 content::WebContents* web_contents_; // Weak reference.
67 67
68 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillManager); 68 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillManager);
69 }; 69 };
70 70
71 #endif // CHROME_BROWSER_AUTOFILL_PASSWORD_AUTOFILL_MANAGER_H_ 71 #endif // COMPONENTS_AUTOFILL_BROWSER_PASSWORD_AUTOFILL_MANAGER_H_
OLDNEW
« no previous file with comments | « components/autofill/browser/name_field_unittest.cc ('k') | components/autofill/browser/password_autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698