OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:host_components
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/extensions/common/permissions/
socket_permission_entry.cc
171
std::vector<std::string>
host_components
;
local
172
base::SplitString(result.pattern_.host, kDot, &
host_components
);
173
DCHECK(!
host_components
.empty());
175
if (
host_components
[0] == kWildcard ||
host_components
[0].empty()) {
176
host_components
.erase(
host_components
.begin(),
177
host_components
.begin() + 1);
181
result.pattern_.host = JoinString(
host_components
, kDot);
/external/chromium_org/extensions/common/
url_pattern.cc
239
std::vector<std::string>
host_components
;
local
240
base::SplitString(host_, '.', &
host_components
);
243
if (
host_components
.empty())
246
if (
host_components
[0] == "*") {
248
host_components
.erase(
host_components
.begin(),
249
host_components
.begin() + 1);
251
host_ = JoinString(
host_components
, '.');
Completed in 185 milliseconds