Home | History | Annotate | Download | only in browser

Lines Matching defs:origins

111             // Remove the origins in the last read value
114 // Add the origins in the new value
122 * @param setting A space-separated list of origins.
123 * @return A mutable set of origins.
126 HashSet<String> origins = new HashSet<String>();
130 origins.add(origin);
134 return origins;
153 * Gets the current system setting for default allowed geolocation origins.
155 * @return The default allowed origins. Returns {@code ""} if not set.
164 * Adds geolocation permissions for the given origins.
166 private void addOrigins(Set<String> origins) {
167 for (String origin : origins) {
173 * Removes geolocation permissions for the given origins, if they are allowed.
176 private void removeOrigins(Set<String> origins) {
177 for (final String origin : origins) {