summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel_nacl.cc
diff options
context:
space:
mode:
authorbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-28 21:46:01 +0000
committerbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-28 21:46:01 +0000
commitbccbaf25ab40103942e680a95cd7ccc4ffa1adb1 (patch)
tree4b53507e6e29b0056bb58061218b94e0d944f30c /ipc/ipc_channel_nacl.cc
parenta4b4bd8ac913f09948ba22113e114339bdfd6a97 (diff)
downloadchromium_src-bccbaf25ab40103942e680a95cd7ccc4ffa1adb1.zip
chromium_src-bccbaf25ab40103942e680a95cd7ccc4ffa1adb1.tar.gz
chromium_src-bccbaf25ab40103942e680a95cd7ccc4ffa1adb1.tar.bz2
Fix build warnings in NaCl IPC proxy.
BUG=116317 TEST=builds Review URL: https://chromiumcodereview.appspot.com/10982031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159344 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_nacl.cc')
-rw-r--r--ipc/ipc_channel_nacl.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/ipc/ipc_channel_nacl.cc b/ipc/ipc_channel_nacl.cc
index e7f11db..3cb5810 100644
--- a/ipc/ipc_channel_nacl.cc
+++ b/ipc/ipc_channel_nacl.cc
@@ -383,15 +383,4 @@ bool Channel::Send(Message* message) {
return channel_impl_->Send(message);
}
-// static
-std::string Channel::GenerateVerifiedChannelID(const std::string& prefix) {
- // A random name is sufficient validation on posix systems, so we don't need
- // an additional shared secret.
- std::string id = prefix;
- if (!id.empty())
- id.append(".");
-
- return id.append(GenerateUniqueRandomChannelID());
-}
-
} // namespace IPC