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

Unified Diff: blimp/client/core/session/identity_source.cc

Issue 2403913003: Add user name in the feedback data. (Closed)
Patch Set: Version check only in Java layer. Created 4 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: blimp/client/core/session/identity_source.cc
diff --git a/blimp/client/core/session/identity_source.cc b/blimp/client/core/session/identity_source.cc
index 9cc74120ce7bba4cda7201b17c6a0977283abba2..2c1deffb680fa4f8b8eedde9fd375cf39175470b 100644
--- a/blimp/client/core/session/identity_source.cc
+++ b/blimp/client/core/session/identity_source.cc
@@ -66,6 +66,10 @@ void IdentitySource::Connect() {
FetchAuthToken();
}
+std::string IdentitySource::GetActiveUsername() {
+ return identity_provider_->GetActiveUsername();
+}
+
// Add sign in state observer.
void IdentitySource::AddObserver(IdentityProvider::Observer* observer) {
DCHECK(identity_provider_);

Powered by Google App Engine
This is Rietveld 408576698