MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / GetAccessControlList

Method GetAccessControlList

cpp/webdriver-server/server.cc:148–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148std::string Server::GetAccessControlList() {
149 std::string acl = "";
150 if (this->whitelist_.size() > 0) {
151 acl = SERVER_DEFAULT_BLACKLIST;
152 for (std::vector<std::string>::const_iterator it = this->whitelist_.begin();
153 it < this->whitelist_.end();
154 ++it) {
155 acl.append(",+").append(*it);
156 }
157 LOG(DEBUG) << "Civetweb ACL is " << acl;
158 }
159 return acl;
160}
161
162void Server::GenerateOptionsList(std::vector<const char*>* options) {
163 std::map<std::string, std::string>::const_iterator it = this->options_.begin();

Callers 1

StartMethod · 0.95

Calls 4

endMethod · 0.80
LOGClass · 0.70
sizeMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected