summaryrefslogtreecommitdiffstats
path: root/chrome/browser/nacl_host/nacl_broker_service_win.cc
diff options
context:
space:
mode:
authormseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-25 01:41:07 +0000
committermseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-25 01:41:07 +0000
commit644b2e268c8396699dcc9c5f51d32647ec19ef49 (patch)
tree005325e4b8b0b3cd6ddf0ceb97201f4cfb893520 /chrome/browser/nacl_host/nacl_broker_service_win.cc
parent22d787862332c9787b3f863d665c50c9c1d34c5f (diff)
downloadchromium_src-644b2e268c8396699dcc9c5f51d32647ec19ef49.zip
chromium_src-644b2e268c8396699dcc9c5f51d32647ec19ef49.tar.gz
chromium_src-644b2e268c8396699dcc9c5f51d32647ec19ef49.tar.bz2
NaCl: Remove needless use of std::wstring for channel IDs
The motivation for this is to stop the commit queue from refusing changes to these files that touch lines containing "wstring". :-) This addresses a TODO. BUG=none TEST=nacl_integration Review URL: http://codereview.chromium.org/9839083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128799 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/nacl_host/nacl_broker_service_win.cc')
-rw-r--r--chrome/browser/nacl_host/nacl_broker_service_win.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/nacl_host/nacl_broker_service_win.cc b/chrome/browser/nacl_host/nacl_broker_service_win.cc
index a338f09..efcdca3 100644
--- a/chrome/browser/nacl_host/nacl_broker_service_win.cc
+++ b/chrome/browser/nacl_host/nacl_broker_service_win.cc
@@ -27,7 +27,7 @@ bool NaClBrokerService::StartBroker() {
}
bool NaClBrokerService::LaunchLoader(NaClProcessHost* nacl_process_host,
- const std::wstring& loader_channel_id) {
+ const std::string& loader_channel_id) {
// Add task to the list
pending_launches_[loader_channel_id] = nacl_process_host;
NaClBrokerHost* broker_host = GetBrokerHost();
@@ -42,7 +42,7 @@ bool NaClBrokerService::LaunchLoader(NaClProcessHost* nacl_process_host,
return true;
}
-void NaClBrokerService::OnLoaderLaunched(const std::wstring& channel_id,
+void NaClBrokerService::OnLoaderLaunched(const std::string& channel_id,
base::ProcessHandle handle) {
NaClProcessHost* client;
PendingLaunchesMap::iterator it = pending_launches_.find(channel_id);