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

Unified Diff: chrome/browser/profiles/profile_window.h

Issue 1261433013: Implement online reauth UI for Locked Profiles on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix views code Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_window.cc » ('j') | chrome/browser/profiles/profile_window.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_window.h
diff --git a/chrome/browser/profiles/profile_window.h b/chrome/browser/profiles/profile_window.h
index 783dc7bc4b23d5da8c61af318bc7fbd47cd44a59..cf813203998e4c31705d1b613f7bf1646d3b93bd 100644
--- a/chrome/browser/profiles/profile_window.h
+++ b/chrome/browser/profiles/profile_window.h
@@ -42,6 +42,24 @@ extern const char kUserManagerSelectProfileChromeSettings[];
extern const char kUserManagerSelectProfileChromeMemory[];
extern const char kUserManagerSelectProfileAppLauncher[];
+class ReauthDialogObserver : public content::WebContentsObserver {
Roger Tawa OOO till Jul 10th 2015/08/05 13:36:05 Please add class comment.
anthonyvd 2015/08/05 18:20:44 Done.
+ public:
+ ReauthDialogObserver(content::WebContents* web_contents,
+ const std::string& email_address);
+ ~ReauthDialogObserver() override {}
+
+ private:
+ // content::WebContentsObserver:
+ void DidStopLoading() override;
+
+ virtual void CloseReauthDialog() = 0;
+
+ content::WebContents* web_contents_;
+ const std::string email_address_;
+
+ DISALLOW_COPY_AND_ASSIGN(ReauthDialogObserver);
+};
+
// Returns the path of the profile connected to the given email. If no profile
// is found an empty file path is returned.
base::FilePath GetPathOfProfileWithEmail(ProfileManager* profile_manager,
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_window.cc » ('j') | chrome/browser/profiles/profile_window.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698