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

Unified Diff: sync/util/get_session_name.h

Issue 479703004: Ensure syncer::internal::GetComputerName returns a UTF-8 string. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use the returned size instead of wcslen(). Created 6 years, 4 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 | « no previous file | sync/util/get_session_name.cc » ('j') | sync/util/get_session_name_win.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/util/get_session_name.h
diff --git a/sync/util/get_session_name.h b/sync/util/get_session_name.h
index 724ae3ca7b8e5345e1f94f97cf17ca67e6447d9a..7ac34ad4ad523d9645770cf2844ec7e7c5aecddc 100644
--- a/sync/util/get_session_name.h
+++ b/sync/util/get_session_name.h
@@ -17,6 +17,7 @@ class TaskRunner;
namespace syncer {
+// Invokes |done_callback| with the session name, a UTF-8 string.
SYNC_EXPORT void GetSessionName(
const scoped_refptr<base::TaskRunner>& task_runner,
const base::Callback<void(const std::string&)>& done_callback);
« no previous file with comments | « no previous file | sync/util/get_session_name.cc » ('j') | sync/util/get_session_name_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698