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

Unified Diff: chrome/browser/signin/chrome_signin_client.h

Issue 2712883005: Sign out profile when local_state file has been changed. (Closed)
Patch Set: Merge from master Created 3 years, 9 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 | « chrome/browser/profiles/profile_manager.cc ('k') | chrome/browser/signin/chrome_signin_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/chrome_signin_client.h
diff --git a/chrome/browser/signin/chrome_signin_client.h b/chrome/browser/signin/chrome_signin_client.h
index da0b0a22b3f1ee1a614161bc6d1ebc7d23bfbe00..10866bb3e29a0ef92848c177daa3b97da1cd5efc 100644
--- a/chrome/browser/signin/chrome_signin_client.h
+++ b/chrome/browser/signin/chrome_signin_client.h
@@ -73,7 +73,9 @@ class ChromeSigninClient
void PostSignedIn(const std::string& account_id,
const std::string& username,
const std::string& password) override;
- void PreSignOut(const base::Callback<void()>& sign_out) override;
+ void PreSignOut(
+ const base::Callback<void()>& sign_out,
+ signin_metrics::ProfileSignout signout_source_metric) override;
// SigninErrorController::Observer implementation.
void OnErrorChanged() override;
@@ -105,8 +107,10 @@ class ChromeSigninClient
private:
void MaybeFetchSigninTokenHandle();
- void OnCloseBrowsersSuccess(const base::Callback<void()>& sign_out,
- const base::FilePath& profile_path);
+ void OnCloseBrowsersSuccess(
+ const base::Callback<void()>& sign_out,
+ const signin_metrics::ProfileSignout signout_source_metric,
+ const base::FilePath& profile_path);
void OnCloseBrowsersAborted(const base::FilePath& profile_path);
Profile* profile_;
« no previous file with comments | « chrome/browser/profiles/profile_manager.cc ('k') | chrome/browser/signin/chrome_signin_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698