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

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

Issue 1978563002: Stop compiling password infobar code on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up cocoa Created 4 years, 7 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 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // Hides any visible generation UI. 95 // Hides any visible generation UI.
96 void HidePasswordGenerationPopup(); 96 void HidePasswordGenerationPopup();
97 97
98 static void CreateForWebContentsWithAutofillClient( 98 static void CreateForWebContentsWithAutofillClient(
99 content::WebContents* contents, 99 content::WebContents* contents,
100 autofill::AutofillClient* autofill_client); 100 autofill::AutofillClient* autofill_client);
101 101
102 // Observer for PasswordGenerationPopup events. Used for testing. 102 // Observer for PasswordGenerationPopup events. Used for testing.
103 void SetTestObserver(autofill::PasswordGenerationPopupObserver* observer); 103 void SetTestObserver(autofill::PasswordGenerationPopupObserver* observer);
104 104
105 // Returns true if the bubble UI is enabled, and false if we're still using
106 // the sad old Infobar UI.
107 static bool IsTheHotNewBubbleUIEnabled();
108
109 static void BindCredentialManager( 105 static void BindCredentialManager(
110 content::RenderFrameHost* render_frame_host, 106 content::RenderFrameHost* render_frame_host,
111 password_manager::mojom::CredentialManagerRequest request); 107 password_manager::mojom::CredentialManagerRequest request);
112 108
113 protected: 109 protected:
114 // Callable for tests. 110 // Callable for tests.
115 ChromePasswordManagerClient(content::WebContents* web_contents, 111 ChromePasswordManagerClient(content::WebContents* web_contents,
116 autofill::AutofillClient* autofill_client); 112 autofill::AutofillClient* autofill_client);
117 113
118 private: 114 private:
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 std::unique_ptr<password_manager::LogManager> log_manager_; 190 std::unique_ptr<password_manager::LogManager> log_manager_;
195 191
196 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the 192 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the
197 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'. 193 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'.
198 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_; 194 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_;
199 195
200 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); 196 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient);
201 }; 197 };
202 198
203 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 199 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/password_manager/chrome_password_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698