Home | History | Annotate | Download | only in base

Lines Matching refs:content_type

63 void SessionManager::AddClient(const std::string& content_type,
65 ASSERT(client_map_.find(content_type) == client_map_.end());
66 client_map_[content_type] = client;
69 void SessionManager::RemoveClient(const std::string& content_type) {
70 ClientMap::iterator iter = client_map_.find(content_type);
75 SessionClient* SessionManager::GetClient(const std::string& content_type) {
76 ClientMap::iterator iter = client_map_.find(content_type);
81 const std::string& content_type) {
83 return CreateSession(id, local_name, content_type);
88 const std::string& content_type) {
91 return CreateSession(local_name, local_name, sid, content_type, false);
96 const std::string& sid, const std::string& content_type,
98 SessionClient* client = GetClient(content_type);
102 sid, content_type, client);
179 std::string content_type;
181 &content_type, &error)) {
187 if (!GetClient(content_type)) {
189 "unknown content type: " + content_type, NULL);
194 content_type, true);