OLD | NEW |
1 //* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | 1 //* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
2 /* ***** BEGIN LICENSE BLOCK ***** | 2 /* ***** BEGIN LICENSE BLOCK ***** |
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
4 * | 4 * |
5 * The contents of this file are subject to the Mozilla Public License Version | 5 * The contents of this file are subject to the Mozilla Public License Version |
6 * 1.1 (the "License"); you may not use this file except in compliance with | 6 * 1.1 (the "License"); you may not use this file except in compliance with |
7 * the License. You may obtain a copy of the License at | 7 * the License. You may obtain a copy of the License at |
8 * http://www.mozilla.org/MPL/ | 8 * http://www.mozilla.org/MPL/ |
9 * | 9 * |
10 * Software distributed under the License is distributed on an "AS IS" basis, | 10 * Software distributed under the License is distributed on an "AS IS" basis, |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 | 286 |
287 // A set of our DomainEntry's. | 287 // A set of our DomainEntry's. |
288 DomainSet domain_set_; | 288 DomainSet domain_set_; |
289 | 289 |
290 // An optional copy of the full domain rule data. If we're loaded from a | 290 // An optional copy of the full domain rule data. If we're loaded from a |
291 // resource, then we just reference the resource directly without copying, | 291 // resource, then we just reference the resource directly without copying, |
292 // and copied_domain_data_ is not used. If we are populated through | 292 // and copied_domain_data_ is not used. If we are populated through |
293 // UseDomainData() then we copy that data here and reference it. | 293 // UseDomainData() then we copy that data here and reference it. |
294 std::string copied_domain_data_; | 294 std::string copied_domain_data_; |
295 | 295 |
| 296 // The actual domain data that we parse on startup. |
| 297 static const char kDomainData[]; |
| 298 |
296 DISALLOW_COPY_AND_ASSIGN(RegistryControlledDomainService); | 299 DISALLOW_COPY_AND_ASSIGN(RegistryControlledDomainService); |
297 }; | 300 }; |
298 | 301 |
299 } // namespace net | 302 } // namespace net |
300 | 303 |
301 #endif // NET_BASE_REGISTRY_CONTROLLED_DOMAIN_H_ | 304 #endif // NET_BASE_REGISTRY_CONTROLLED_DOMAIN_H_ |
OLD | NEW |