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

Side by Side Diff: chrome/browser/extensions/api/passwords_private/passwords_private_delegate.h

Issue 1907813002: Make the URLs in the password exceptions list clickable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-implicit-update.gitbr
Patch Set: feedback Created 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PRIVATE_DELEGA TE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PRIVATE_DELEGA TE_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PRIVATE_DELEGA TE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PRIVATE_DELEGA TE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual void SendSavedPasswordsList() = 0; 42 virtual void SendSavedPasswordsList() = 0;
43 43
44 // Gets the saved passwords list. 44 // Gets the saved passwords list.
45 virtual const std::vector<api::passwords_private::PasswordUiEntry>* 45 virtual const std::vector<api::passwords_private::PasswordUiEntry>*
46 GetSavedPasswordsList() const = 0; 46 GetSavedPasswordsList() const = 0;
47 47
48 // Sends the password exceptions list to the event router. 48 // Sends the password exceptions list to the event router.
49 virtual void SendPasswordExceptionsList() = 0; 49 virtual void SendPasswordExceptionsList() = 0;
50 50
51 // Gets the password exceptions list. 51 // Gets the password exceptions list.
52 virtual const std::vector<std::string>* GetPasswordExceptionsList() const = 0; 52 virtual const std::vector<api::passwords_private::ExceptionPair>*
53 GetPasswordExceptionsList() const = 0;
53 54
54 // Removes the saved password entry corresponding to |origin_url| and 55 // Removes the saved password entry corresponding to |origin_url| and
55 // |username|. 56 // |username|.
56 // |origin_url| The human-readable origin for the URL where the password is 57 // |origin_url| The human-readable origin for the URL where the password is
57 // used/ should be obtained using GetHumanReadableOrigin(). 58 // used/ should be obtained using GetHumanReadableOrigin().
58 // |username| The username used in conjunction with the saved password. 59 // |username| The username used in conjunction with the saved password.
59 virtual void RemoveSavedPassword( 60 virtual void RemoveSavedPassword(
60 const std::string& origin_url, const std::string& username) = 0; 61 const std::string& origin_url, const std::string& username) = 0;
61 62
62 // Removes the saved password exception entry corresponding to 63 // Removes the saved password exception entry corresponding to
(...skipping 10 matching lines...) Expand all
73 // |native_window| The Chrome host window; will be used to show an OS-level 74 // |native_window| The Chrome host window; will be used to show an OS-level
74 // authentication dialog if necessary. 75 // authentication dialog if necessary.
75 virtual void RequestShowPassword(const std::string& origin_url, 76 virtual void RequestShowPassword(const std::string& origin_url,
76 const std::string& username, 77 const std::string& username,
77 content::WebContents* web_contents) = 0; 78 content::WebContents* web_contents) = 0;
78 }; 79 };
79 80
80 } // namespace extensions 81 } // namespace extensions
81 82
82 #endif // CHROME_BROWSER_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PRIVATE_DEL EGATE_H_ 83 #endif // CHROME_BROWSER_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PRIVATE_DEL EGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698