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

Side by Side Diff: components/password_manager/content/browser/content_password_manager_driver.h

Issue 2073143002: [Password Generation] Run the form classifier only if AutofillMetadata is enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pg_classifier_votes
Patch Set: Removed unnecessary ';' Created 4 years, 6 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 COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI VER_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI VER_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI VER_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI VER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 void FillSuggestion(const base::string16& username, 64 void FillSuggestion(const base::string16& username,
65 const base::string16& password) override; 65 const base::string16& password) override;
66 void PreviewSuggestion(const base::string16& username, 66 void PreviewSuggestion(const base::string16& username,
67 const base::string16& password) override; 67 const base::string16& password) override;
68 void ShowInitialPasswordAccountSuggestions( 68 void ShowInitialPasswordAccountSuggestions(
69 const autofill::PasswordFormFillData& form_data) override; 69 const autofill::PasswordFormFillData& form_data) override;
70 void ClearPreviewedForm() override; 70 void ClearPreviewedForm() override;
71 void ForceSavePassword() override; 71 void ForceSavePassword() override;
72 void GeneratePassword() override; 72 void GeneratePassword() override;
73 void SendLoggingAvailability() override; 73 void SendLoggingAvailability() override;
74 void AllowToRunFormClassifier() override;
74 75
75 PasswordGenerationManager* GetPasswordGenerationManager() override; 76 PasswordGenerationManager* GetPasswordGenerationManager() override;
76 PasswordManager* GetPasswordManager() override; 77 PasswordManager* GetPasswordManager() override;
77 PasswordAutofillManager* GetPasswordAutofillManager() override; 78 PasswordAutofillManager* GetPasswordAutofillManager() override;
78 79
79 bool HandleMessage(const IPC::Message& message); 80 bool HandleMessage(const IPC::Message& message);
80 void DidNavigateFrame(const content::LoadCommittedDetails& details, 81 void DidNavigateFrame(const content::LoadCommittedDetails& details,
81 const content::FrameNavigateParams& params); 82 const content::FrameNavigateParams& params);
82 83
83 // Pass-throughs to PasswordManager. 84 // Pass-throughs to PasswordManager.
(...skipping 26 matching lines...) Expand all
110 // the latter two classes can reference to the same instance without sending 111 // the latter two classes can reference to the same instance without sending
111 // it to each other over IPC. The counter below is used to generate new IDs. 112 // it to each other over IPC. The counter below is used to generate new IDs.
112 int next_free_key_; 113 int next_free_key_;
113 114
114 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver); 115 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver);
115 }; 116 };
116 117
117 } // namespace password_manager 118 } // namespace password_manager
118 119
119 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_ DRIVER_H_ 120 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_ DRIVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698