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

Unified Diff: trunk/src/chrome/browser/profiles/avatar_menu_actions.h

Issue 75483005: Revert 235801 "Fix crash when locking a profile. The crash is ha..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: trunk/src/chrome/browser/profiles/avatar_menu_actions.h
===================================================================
--- trunk/src/chrome/browser/profiles/avatar_menu_actions.h (revision 235821)
+++ trunk/src/chrome/browser/profiles/avatar_menu_actions.h (working copy)
@@ -31,6 +31,12 @@
// Returns true if the edit profile link should be shown.
virtual bool ShouldShowEditProfileLink() const = 0;
+ // Starts the sign-out process for this profile.
+ virtual content::WebContents* BeginSignOut() = 0;
+
+ // Sets a different URL to use for logout (for testing only).
+ virtual void SetLogoutURL(const std::string& logout_url) = 0;
+
// Updates the browser.
// TODO: Delegate browser actions to remove dependency on Browser class.
virtual void ActiveBrowserChanged(Browser* browser) = 0;
« no previous file with comments | « trunk/src/chrome/browser/profiles/avatar_menu.cc ('k') | trunk/src/chrome/browser/profiles/avatar_menu_actions_desktop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698