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

Unified Diff: chrome/browser/sync/glue/sync_backend_host.cc

Issue 8665011: sync: remove GetAuthenticatedUsername from ProfileSyncService/SyncBackendHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 9 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: chrome/browser/sync/glue/sync_backend_host.cc
diff --git a/chrome/browser/sync/glue/sync_backend_host.cc b/chrome/browser/sync/glue/sync_backend_host.cc
index c68682e00d73e549f7765f903aea6f782c074590..048679ae934a558cb94f2e750cd61f69b0914584 100644
--- a/chrome/browser/sync/glue/sync_backend_host.cc
+++ b/chrome/browser/sync/glue/sync_backend_host.cc
@@ -343,11 +343,6 @@ const SyncSessionSnapshot* SyncBackendHost::GetLastSessionSnapshot() const {
return last_snapshot_.get();
}
-string16 SyncBackendHost::GetAuthenticatedUsername() const {
- DCHECK(initialized());
- return UTF8ToUTF16(core_->sync_manager()->GetAuthenticatedUsername());
-}
-
bool SyncBackendHost::HasUnsyncedItems() const {
DCHECK(initialized());
return core_->sync_manager()->HasUnsyncedItems();

Powered by Google App Engine
This is Rietveld 408576698