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

Side by Side Diff: chrome/browser/chrome_autofill_client.h

Issue 10837363: Introduce AutofillClient and use it to get rid of PasswordManager dependency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROME_AUTOFILL_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_AUTOFILL_CLIENT_H_
7
8 #include "base/compiler_specific.h"
9 #include "chrome/browser/autofill/api/autofill_client.h"
10
11 class TabContents;
12
13 // Chrome implementation of AutofillClient
14 class ChromeAutofillClient : public autofill::AutofillClient {
15 public:
16 // Lifetime of |tab| must exceed lifetime of ChromeAutofillClient.
17 ChromeAutofillClient(TabContents* tab);
18 virtual ~ChromeAutofillClient() {}
19
20 virtual InfoBarTabService* GetInfoBarService() OVERRIDE;
21 virtual PrefServiceBase* GetPrefs() OVERRIDE;
22 virtual bool IsSavingPasswordsEnabled() OVERRIDE;
Ilya Sherman 2012/08/22 03:38:03 nit: Should this method be const?
Jói 2012/08/22 17:15:53 Done.
23
24 private:
25 TabContents* tab_;
Ilya Sherman 2012/08/22 03:38:03 nit: Can this be a const-member, i.e. TabContents*
Jói 2012/08/22 17:15:53 Done.
26 };
27
28 #endif // CHROME_BROWSER_CHROME_AUTOFILL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698