OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file is used during build to generate prepopulated_engine.h/cc. | 5 // This file is used during build to generate prepopulated_engine.h/cc. |
6 // For more details see tools/json_to_struct/json_to_struct.py. | 6 // For more details see tools/json_to_struct/json_to_struct.py. |
7 | 7 |
8 // Engine definitions. See prepopulated_engines_schema.json for the field | 8 // Engine definitions. See prepopulated_engines_schema.json for the field |
9 // definitions. | 9 // definitions. |
10 | 10 |
11 // The following unique IDs are available: | 11 // The following unique IDs are available: |
12 // 11, 12, 13, 14, 18, 19, 20, 22, 24, 26, 28, 29, 30, 32, 33, 34, 39, 37, | 12 // 11, 12, 13, 14, 18, 19, 20, 22, 24, 26, 28, 29, 30, 32, 33, 34, 39, 37, |
13 // 38, 40, 41, 42, 46, 47, 48, 49, 51, 52, 58, 59, 69, 71, 72, 82, 84, 86, | 13 // 38, 40, 41, 42, 46, 47, 48, 49, 51, 52, 58, 59, 69, 71, 72, 82, 84, 86, |
14 // 88, 89, 91+ | 14 // 88, 89, 91+ |
15 // | 15 // |
16 // IDs > 1000 are reserved for distribution custom engines. | 16 // IDs > 1000 are reserved for distribution custom engines. |
17 // | 17 // |
18 // NOTES: | 18 // NOTES: |
19 // - CHANGE THE ABOVE NUMBERS IF YOU ADD A NEW ENGINE; ID conflicts = bad! | 19 // - CHANGE THE ABOVE NUMBERS IF YOU ADD A NEW ENGINE; ID conflicts = bad! |
20 // - Make sure you update the int_variables below as required. | 20 // - Make sure you update the int_variables below as required. |
21 | 21 |
22 { | 22 { |
23 "int_variables": { | 23 "int_variables": { |
24 // The following id is for UMA stats only. Please update it if you add new | 24 // The following id is for UMA stats only. Please update it if you add new |
25 // engines outside the current range or it will not be counted in stats. | 25 // engines outside the current range or it will not be counted in stats. |
26 "kMaxPrepopulatedEngineID": 90, | 26 "kMaxPrepopulatedEngineID": 90, |
27 | 27 |
28 // Increment this if you change the data in ways that mean users with | 28 // Increment this if you change the data in ways that mean users with |
29 // existing data should get a new version. | 29 // existing data should get a new version. |
30 "kCurrentDataVersion": 72 | 30 "kCurrentDataVersion": 73 |
31 }, | 31 }, |
32 | 32 |
33 // The following engines are included in country lists and are added to the | 33 // The following engines are included in country lists and are added to the |
34 // list of search engines on the first run depending on user's country. | 34 // list of search engines on the first run depending on user's country. |
35 "elements": { | 35 "elements": { |
36 "aol": { | 36 "aol": { |
37 "name": "AOL", | 37 "name": "AOL", |
38 "keyword": "aol.com", | 38 "keyword": "aol.com", |
39 "favicon_url": "http://search.aol.com/favicon.ico", | 39 "favicon_url": "http://search.aol.com/favicon.ico", |
40 "search_url": "http://search.aol.com/aol/search?q={searchTerms}", | 40 "search_url": "http://search.aol.com/aol/search?q={searchTerms}", |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
566 "keyword": "najdi.si", | 566 "keyword": "najdi.si", |
567 "favicon_url": "http://www.najdi.si/assets/PROD-1.4.10/ctx/images/favicon. ico", | 567 "favicon_url": "http://www.najdi.si/assets/PROD-1.4.10/ctx/images/favicon. ico", |
568 "search_url": "http://www.najdi.si/search.jsp?q={searchTerms}", | 568 "search_url": "http://www.najdi.si/search.jsp?q={searchTerms}", |
569 "type": "SEARCH_ENGINE_NAJDI", | 569 "type": "SEARCH_ENGINE_NAJDI", |
570 "id": 87 | 570 "id": 87 |
571 }, | 571 }, |
572 | 572 |
573 "naver": { | 573 "naver": { |
574 "name": "\ub124\uc774\ubc84", | 574 "name": "\ub124\uc774\ubc84", |
575 "keyword": "naver.com", | 575 "keyword": "naver.com", |
576 "favicon_url": "http://sstatic.naver.net/search/favicon/favicon_140327.ico ", | 576 "favicon_url": "http://www.naver.com/favicon.ico", |
Peter Kasting
2014/05/07 06:51:01
Don't change this value. I realize this is the OS
Sungmann Cho
2014/05/07 07:05:29
Done.
| |
577 "search_url": "http://search.naver.com/search.naver?ie={inputEncoding}&que ry={searchTerms}", | 577 "search_url": "http://search.naver.com/search.naver?ie={inputEncoding}&que ry={searchTerms}", |
578 "suggest_url": "http://ac.search.naver.com/nx/ac?of=os&ie={inputEncoding}& oe={outputEncoding}&q={searchTerms}", | |
Peter Kasting
2014/05/07 06:51:01
Nit: Can you reverse the last two params to match
Sungmann Cho
2014/05/07 07:05:29
Done.
| |
578 "type": "SEARCH_ENGINE_NAVER", | 579 "type": "SEARCH_ENGINE_NAVER", |
579 "id": 67 | 580 "id": 67 |
580 }, | 581 }, |
581 | 582 |
582 "onet": { | 583 "onet": { |
583 "name": "Onet.pl", | 584 "name": "Onet.pl", |
584 "keyword": "onet.pl", | 585 "keyword": "onet.pl", |
585 "favicon_url": "http://szukaj.onet.pl/favicon.ico", | 586 "favicon_url": "http://szukaj.onet.pl/favicon.ico", |
586 "search_url": "http://szukaj.onet.pl/wyniki.html?qt={searchTerms}", | 587 "search_url": "http://szukaj.onet.pl/wyniki.html?qt={searchTerms}", |
587 "type": "SEARCH_ENGINE_ONET", | 588 "type": "SEARCH_ENGINE_ONET", |
(...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1379 "name": "Zoznam", | 1380 "name": "Zoznam", |
1380 "keyword": "zoznam.sk", | 1381 "keyword": "zoznam.sk", |
1381 "favicon_url": "http://www.zoznam.sk/favicon.ico", | 1382 "favicon_url": "http://www.zoznam.sk/favicon.ico", |
1382 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", | 1383 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", |
1383 "encoding": "windows-1250", | 1384 "encoding": "windows-1250", |
1384 "type": "SEARCH_ENGINE_ZOZNAM", | 1385 "type": "SEARCH_ENGINE_ZOZNAM", |
1385 "id": 85 | 1386 "id": 85 |
1386 } | 1387 } |
1387 } | 1388 } |
1388 } | 1389 } |
OLD | NEW |