Chromium Code Reviews| 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, |