| 414 | } |
| 415 | |
| 416 | const std::string Server::ServiceProperty::service_name() const { |
| 417 | if (service) { |
| 418 | return butil::EnsureString(service->GetDescriptor()->full_name()); |
| 419 | } else if (restful_map) { |
| 420 | return restful_map->service_name(); |
| 421 | } |
| 422 | const static std::string s_unknown_name = ""; |
| 423 | return s_unknown_name; |
| 424 | } |
| 425 | |
| 426 | Server::Server(ProfilerLinker) |
| 427 | : _session_local_data_pool(NULL) |