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

Side by Side Diff: chrome/browser/password_manager/password_manager_delegate.h

Issue 10107002: TabContents -> WebContentsImpl, part 18. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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_PASSWORD_MANAGER_PASSWORD_MANAGER_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_DELEGATE_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_DELEGATE_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 namespace webkit { 9 namespace webkit {
10 namespace forms { 10 namespace forms {
11 struct PasswordFormFillData; 11 struct PasswordFormFillData;
12 } 12 }
13 } 13 }
14 14
15 class PasswordFormManager; 15 class PasswordFormManager;
16 class Profile; 16 class Profile;
17 17
18 // An abstraction of operations in the external environment (TabContents) 18 // An abstraction of operations in the external environment (WebContents)
19 // that the PasswordManager depends on. This allows for more targeted 19 // that the PasswordManager depends on. This allows for more targeted
20 // unit testing. 20 // unit testing.
21 class PasswordManagerDelegate { 21 class PasswordManagerDelegate {
22 public: 22 public:
23 PasswordManagerDelegate() {} 23 PasswordManagerDelegate() {}
24 virtual ~PasswordManagerDelegate() {} 24 virtual ~PasswordManagerDelegate() {}
25 25
26 // Fill forms matching |form_data| in |tab_contents|. By default, goes 26 // Fill forms matching |form_data| in |tab_contents|. By default, goes
27 // through the RenderViewHost to FillPasswordForm. Tests can override this 27 // through the RenderViewHost to FillPasswordForm. Tests can override this
28 // to sever the dependency on the entire rendering stack. 28 // to sever the dependency on the entire rendering stack.
(...skipping 12 matching lines...) Expand all
41 // If any SSL certificate errors were encountered as a result of the last 41 // If any SSL certificate errors were encountered as a result of the last
42 // page load. 42 // page load.
43 virtual bool DidLastPageLoadEncounterSSLErrors() = 0; 43 virtual bool DidLastPageLoadEncounterSSLErrors() = 0;
44 44
45 private: 45 private:
46 DISALLOW_COPY_AND_ASSIGN(PasswordManagerDelegate); 46 DISALLOW_COPY_AND_ASSIGN(PasswordManagerDelegate);
47 }; 47 };
48 48
49 49
50 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_DELEGATE_H_ 50 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_manager.h ('k') | chrome/browser/prerender/prerender_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698