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

Side by Side Diff: components/password_manager/core/browser/password_autofill_manager.h

Issue 611383002: Replace OVERRIDE with its C++11 counterpart in components/password_manager/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_AUTOFILL_MANAGER_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_AUTOFILL_MANAGER_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_AUTOFILL_MANAGER_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_AUTOFILL_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 10 matching lines...) Expand all
21 class PasswordManagerClient; 21 class PasswordManagerClient;
22 22
23 // This class is responsible for filling password forms. 23 // This class is responsible for filling password forms.
24 class PasswordAutofillManager : public autofill::AutofillPopupDelegate { 24 class PasswordAutofillManager : public autofill::AutofillPopupDelegate {
25 public: 25 public:
26 PasswordAutofillManager(PasswordManagerClient* password_manager_client, 26 PasswordAutofillManager(PasswordManagerClient* password_manager_client,
27 autofill::AutofillClient* autofill_client); 27 autofill::AutofillClient* autofill_client);
28 virtual ~PasswordAutofillManager(); 28 virtual ~PasswordAutofillManager();
29 29
30 // AutofillPopupDelegate implementation. 30 // AutofillPopupDelegate implementation.
31 virtual void OnPopupShown() OVERRIDE; 31 virtual void OnPopupShown() override;
32 virtual void OnPopupHidden() OVERRIDE; 32 virtual void OnPopupHidden() override;
33 virtual void DidSelectSuggestion(const base::string16& value, 33 virtual void DidSelectSuggestion(const base::string16& value,
34 int identifier) OVERRIDE; 34 int identifier) override;
35 virtual void DidAcceptSuggestion(const base::string16& value, 35 virtual void DidAcceptSuggestion(const base::string16& value,
36 int identifier) OVERRIDE; 36 int identifier) override;
37 virtual void RemoveSuggestion(const base::string16& value, 37 virtual void RemoveSuggestion(const base::string16& value,
38 int identifier) OVERRIDE; 38 int identifier) override;
39 virtual void ClearPreviewedForm() OVERRIDE; 39 virtual void ClearPreviewedForm() override;
40 40
41 // Invoked when a password mapping is added. 41 // Invoked when a password mapping is added.
42 void OnAddPasswordFormMapping( 42 void OnAddPasswordFormMapping(
43 const autofill::FormFieldData& field, 43 const autofill::FormFieldData& field,
44 const autofill::PasswordFormFillData& fill_data); 44 const autofill::PasswordFormFillData& fill_data);
45 45
46 // Handles a request from the renderer to show a popup with the given 46 // Handles a request from the renderer to show a popup with the given
47 // |suggestions| from the password manager. 47 // |suggestions| from the password manager.
48 void OnShowPasswordSuggestions( 48 void OnShowPasswordSuggestions(
49 const autofill::FormFieldData& field, 49 const autofill::FormFieldData& field,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 autofill::FormFieldData form_field_; 100 autofill::FormFieldData form_field_;
101 101
102 base::WeakPtrFactory<PasswordAutofillManager> weak_ptr_factory_; 102 base::WeakPtrFactory<PasswordAutofillManager> weak_ptr_factory_;
103 103
104 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillManager); 104 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillManager);
105 }; 105 };
106 106
107 } // namespace password_manager 107 } // namespace password_manager
108 108
109 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_AUTOFILL_MANAGER_H_ 109 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_AUTOFILL_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698