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

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

Issue 2471183004: Updates comments in the src files to remove gender specific terms. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « chrome/browser/media/webrtc/media_stream_infobar_delegate_android.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 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_SAVE_PASSWORD_INFOBAR_DELEGATE_ANDROID_H _ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_SAVE_PASSWORD_INFOBAR_DELEGATE_ANDROID_H _
6 #define CHROME_BROWSER_PASSWORD_MANAGER_SAVE_PASSWORD_INFOBAR_DELEGATE_ANDROID_H _ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_SAVE_PASSWORD_INFOBAR_DELEGATE_ANDROID_H _
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 protected: 46 protected:
47 // Makes a ctor available in tests. 47 // Makes a ctor available in tests.
48 SavePasswordInfoBarDelegate( 48 SavePasswordInfoBarDelegate(
49 content::WebContents* web_contents, 49 content::WebContents* web_contents,
50 std::unique_ptr<password_manager::PasswordFormManager> form_to_save, 50 std::unique_ptr<password_manager::PasswordFormManager> form_to_save,
51 bool is_smartlock_branding_enabled); 51 bool is_smartlock_branding_enabled);
52 52
53 private: 53 private:
54 // The PasswordFormManager managing the form we're asking the user about, 54 // The PasswordFormManager managing the form we're asking the user about,
55 // and should update as per her decision. 55 // and should update as per their decision.
56 std::unique_ptr<password_manager::PasswordFormManager> form_to_save_; 56 std::unique_ptr<password_manager::PasswordFormManager> form_to_save_;
57 57
58 // Used to track the results we get from the info bar. 58 // Used to track the results we get from the info bar.
59 password_manager::metrics_util::UIDismissalReason infobar_response_; 59 password_manager::metrics_util::UIDismissalReason infobar_response_;
60 60
61 // Measures the "Save password?" prompt lifetime. Used to report an UMA 61 // Measures the "Save password?" prompt lifetime. Used to report an UMA
62 // signal. 62 // signal.
63 base::ElapsedTimer timer_; 63 base::ElapsedTimer timer_;
64 64
65 DISALLOW_COPY_AND_ASSIGN(SavePasswordInfoBarDelegate); 65 DISALLOW_COPY_AND_ASSIGN(SavePasswordInfoBarDelegate);
66 }; 66 };
67 67
68 // Creates the platform-specific SavePassword InfoBar. This function is defined 68 // Creates the platform-specific SavePassword InfoBar. This function is defined
69 // in platform-specific .cc (or .mm) files. 69 // in platform-specific .cc (or .mm) files.
70 std::unique_ptr<infobars::InfoBar> CreateSavePasswordInfoBar( 70 std::unique_ptr<infobars::InfoBar> CreateSavePasswordInfoBar(
71 std::unique_ptr<SavePasswordInfoBarDelegate> delegate); 71 std::unique_ptr<SavePasswordInfoBarDelegate> delegate);
72 72
73 #endif // CHROME_BROWSER_PASSWORD_MANAGER_SAVE_PASSWORD_INFOBAR_DELEGATE_ANDROI D_H_ 73 #endif // CHROME_BROWSER_PASSWORD_MANAGER_SAVE_PASSWORD_INFOBAR_DELEGATE_ANDROI D_H_
OLDNEW
« no previous file with comments | « chrome/browser/media/webrtc/media_stream_infobar_delegate_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698