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

Unified Diff: sandbox/win/src/sync_dispatcher.cc

Issue 109843003: Replace wstring with string16 in sandbox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « sandbox/win/src/sync_dispatcher.h ('k') | sandbox/win/src/sync_policy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/sync_dispatcher.cc
diff --git a/sandbox/win/src/sync_dispatcher.cc b/sandbox/win/src/sync_dispatcher.cc
index 3769fc6c67db422248133c7e5a1855cf89cb2fab..d4b36d5fc85000fc591f566229b25ad552d4222e 100644
--- a/sandbox/win/src/sync_dispatcher.cc
+++ b/sandbox/win/src/sync_dispatcher.cc
@@ -43,7 +43,7 @@ bool SyncDispatcher::SetupService(InterceptionManager* manager,
return false;
}
-bool SyncDispatcher::CreateEvent(IPCInfo* ipc, std::wstring* name,
+bool SyncDispatcher::CreateEvent(IPCInfo* ipc, base::string16* name,
DWORD event_type, DWORD initial_state) {
const wchar_t* event_name = name->c_str();
CountedParameterSet<NameBased> params;
@@ -61,7 +61,7 @@ bool SyncDispatcher::CreateEvent(IPCInfo* ipc, std::wstring* name,
return true;
}
-bool SyncDispatcher::OpenEvent(IPCInfo* ipc, std::wstring* name,
+bool SyncDispatcher::OpenEvent(IPCInfo* ipc, base::string16* name,
DWORD desired_access) {
const wchar_t* event_name = name->c_str();
« no previous file with comments | « sandbox/win/src/sync_dispatcher.h ('k') | sandbox/win/src/sync_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698