diff options
author | jiayl@chromium.org <jiayl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-01 21:21:46 +0000 |
---|---|---|
committer | jiayl@chromium.org <jiayl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-01 21:21:46 +0000 |
commit | d322066dba0d6bfb0e591b651c47f5e27efcb98a (patch) | |
tree | 39714d7f6a3539ef29b41d282b5705e75bb5b976 /ipc | |
parent | 142c27f34f9e70290ee032d92cec7bd2b78c4b90 (diff) | |
download | chromium_src-d322066dba0d6bfb0e591b651c47f5e27efcb98a.zip chromium_src-d322066dba0d6bfb0e591b651c47f5e27efcb98a.tar.gz chromium_src-d322066dba0d6bfb0e591b651c47f5e27efcb98a.tar.bz2 |
Generates the DTLS identity in browser process and returns it to the renderer process.
This is the first part of implementing a persistent identity store for WebRTC in Chrome. It implements the IPC messages to request and return the DTLS identity and the identity generation in browser process. A persistent store based on SQLite DB will be implemented later.
DTLSIdentityService: used in the renderer process to request a DTLS identity. It sends an IPC to the browser process and receives the reply containing the identity in a callback.
DTLSIdentityServiceHost: listens for the IPC message from DTLSIdentityService and passes the request to DTLSIdentityStore.
DTLSIdentityStore: created per RenerProcessHost. For now it always generates a new identity on a worker thread for each request, without any caching or persistent storage.
BUG=https://code.google.com/p/webrtc/issues/detail?id=1864
Review URL: https://chromiumcodereview.appspot.com/15969025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209499 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/ipc_message_start.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ipc/ipc_message_start.h b/ipc/ipc_message_start.h index 3e1e59c..bf80df0 100644 --- a/ipc/ipc_message_start.h +++ b/ipc/ipc_message_start.h @@ -85,7 +85,8 @@ enum IPCMessageStart { MemoryBenchmarkMsgStart, WebSocketMsgStart, NaClHostMsgStart, - LastIPCMsgStart // Must come last. + WebRTCIdentityMsgStart, + LastIPCMsgStart // Must come last. }; #endif // IPC_IPC_MESSAGE_START_H_ |