~ubuntu-branches/ubuntu/oneiric/arora/oneiric

« back to all changes in this revision

Viewing changes to src/network/cookiejar/networkcookiejar/twoleveldomains_p.h

  • Committer: Bazaar Package Importer
  • Author(s): Roderick B. Greening
  • Date: 2009-09-10 15:24:04 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090910152404-668k22ux3mfap6g0
Tags: 0.9.0-0ubuntu1
* New upstream release
* Update patches:
  - kubuntu_02_default_bookmarks.diff
* Remove patches:
  - kubuntu_04_startpage_spacing.diff (fixed upstream)
  - kubuntu_05_manpages.diff (fixed upstream)
  - kubuntu_07_adblock.diff (unstable/unsuitable)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
   Copyright (C) 2009, Torch Mobile Inc. and Linden Research, Inc. All rights reserved.
 
3
*/
 
4
 
 
5
/* ***** BEGIN LICENSE BLOCK *****
 
6
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 
7
 *
 
8
 * The contents of this file are subject to the Mozilla Public License Version
 
9
 * 1.1 (the "License"); you may not use this file except in compliance with
 
10
 * the License. You may obtain a copy of the License at
 
11
 * http://www.mozilla.org/MPL/
 
12
 *
 
13
 * Software distributed under the License is distributed on an "AS IS" basis,
 
14
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 
15
 * for the specific language governing rights and limitations under the
 
16
 * License.
 
17
 *
 
18
 * The Original Code is Torch Mobile Inc. (http://www.torchmobile.com/) code
 
19
 *
 
20
 * The Initial Developer of the Original Code is:
 
21
 *   Benjamin Meyer (benjamin.meyer@torchmobile.com)
 
22
 *
 
23
 * Alternatively, the contents of this file may be used under the terms of
 
24
 * either the GNU General Public License Version 2 or later (the "GPL"), or
 
25
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 
26
 * in which case the provisions of the GPL or the LGPL are applicable instead
 
27
 * of those above. If you wish to allow use of your version of this file only
 
28
 * under the terms of either the GPL or the LGPL, and not to allow others to
 
29
 * use your version of this file under the terms of the MPL, indicate your
 
30
 * decision by deleting the provisions above and replace them with the notice
 
31
 * and other provisions required by the GPL or the LGPL. If you do not delete
 
32
 * the provisions above, a recipient may use your version of this file under
 
33
 * the terms of any one of the MPL, the GPL or the LGPL.
 
34
 *
 
35
 * ***** END LICENSE BLOCK ***** */
 
36
 
 
37
// Updated from https://wiki.mozilla.org/TLD_List#External_Links
 
38
// To set a custom list use NetworkCookieJar::setSecondLevelDomains()
 
39
static const char *const twoLevelDomains[] = {
 
40
    "ao",
 
41
    "ar",
 
42
    "arpa",
 
43
    "bd",
 
44
    "bn",
 
45
    "br",
 
46
    "co",
 
47
    "cr",
 
48
    "cy",
 
49
    "do",
 
50
    "eg",
 
51
    "et",
 
52
    "fj",
 
53
    "fk",
 
54
    "gh",
 
55
    "gn",
 
56
    "gu",
 
57
    "id",
 
58
    "il",
 
59
    "jm",
 
60
    "ke",
 
61
    "kh",
 
62
    "ki",
 
63
    "kw",
 
64
    "kz",
 
65
    "lb",
 
66
    "lc",
 
67
    "lr",
 
68
    "ls",
 
69
    "ml",
 
70
    "mm",
 
71
    "mv",
 
72
    "mw",
 
73
    "mx",
 
74
    "my",
 
75
    "ng",
 
76
    "ni",
 
77
    "np",
 
78
    "nz",
 
79
    "om",
 
80
    "pa",
 
81
    "pe",
 
82
    "pg",
 
83
    "pw",
 
84
    "py",
 
85
    "qa",
 
86
    "sa",
 
87
    "sb",
 
88
    "sv",
 
89
    "sy",
 
90
    "th",
 
91
    "tn",
 
92
    "tz",
 
93
    "uk",
 
94
    "uy",
 
95
    "va",
 
96
    "ve",
 
97
    "ye",
 
98
    "yu",
 
99
    "za",
 
100
    "zm",
 
101
    "zw",
 
102
    0
 
103
};