Home | History | Annotate | Download | only in base

Lines Matching refs:content_type

60 void SessionManager::AddClient(const std::string& content_type,
62 ASSERT(client_map_.find(content_type) == client_map_.end());
63 client_map_[content_type] = client;
66 void SessionManager::RemoveClient(const std::string& content_type) {
67 ClientMap::iterator iter = client_map_.find(content_type);
72 SessionClient* SessionManager::GetClient(const std::string& content_type) {
73 ClientMap::iterator iter = client_map_.find(content_type);
78 const std::string& content_type) {
81 content_type, false);
86 const std::string& sid, const std::string& content_type,
88 SessionClient* client = GetClient(content_type);
92 sid, content_type, client);
168 std::string content_type;
170 &content_type, &error)) {
176 if (!GetClient(content_type)) {
178 "unknown content type: " + content_type, NULL);
183 content_type, true);