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

Unified Diff: chrome/browser/ui/webui/gcm_internals_ui.cc

Issue 330733002: Move IdentityProvider usage from GCMDriverDesktop to GCMProfileService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch Created 6 years, 6 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
Index: chrome/browser/ui/webui/gcm_internals_ui.cc
diff --git a/chrome/browser/ui/webui/gcm_internals_ui.cc b/chrome/browser/ui/webui/gcm_internals_ui.cc
index 75eacaa0976bbe0d7341c4cc51698cae10369437..a0289d4c98d897ef610280e653d757c77bf78b1e 100644
--- a/chrome/browser/ui/webui/gcm_internals_ui.cc
+++ b/chrome/browser/ui/webui/gcm_internals_ui.cc
@@ -156,7 +156,7 @@ void GcmInternalsUIMessageHandler::ReturnResults(
gcm::GCMProfileService::IsGCMEnabled(profile));
if (profile_service) {
device_info->SetString("signedInUserName",
- profile_service->driver()->SignedInUserName());
+ profile_service->SignedInUserName());
device_info->SetBoolean("gcmClientReady",
profile_service->driver()->IsGCMClientReady());
}
@@ -229,7 +229,7 @@ void GcmInternalsUIMessageHandler::RequestAllInfo(
if (!profile_service) {
ReturnResults(profile, NULL, NULL);
- } else if (profile_service->driver()->SignedInUserName().empty()) {
+ } else if (profile_service->SignedInUserName().empty()) {
ReturnResults(profile, profile_service, NULL);
} else {
profile_service->driver()->GetGCMStatistics(
@@ -258,7 +258,7 @@ void GcmInternalsUIMessageHandler::SetRecording(const base::ListValue* args) {
ReturnResults(profile, NULL, NULL);
return;
}
- if (profile_service->driver()->SignedInUserName().empty()) {
+ if (profile_service->SignedInUserName().empty()) {
ReturnResults(profile, profile_service, NULL);
return;
}

Powered by Google App Engine
This is Rietveld 408576698