Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(537)

Side by Side Diff: components/search_engines/prepopulated_engines_schema.json

Issue 330433002: Move prepopulated_engines to components/search_engines (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 by json_to_struct.py to generate prepopulated_engine.h/cc. 5 // This file is used by json_to_struct.py to generate prepopulated_engine.h/cc.
6 // Any time you modify this file regenerate the .h/.cc. See 6 // Any time you modify this file regenerate the .h/.cc. See
7 // prepopulated_engines.json for details. 7 // prepopulated_engines.json for details.
8 8
9 { 9 {
10 "type_name": "PrepopulatedEngine", 10 "type_name": "PrepopulatedEngine",
11 "headers": [ 11 "headers": [
12 "chrome/browser/search_engines/search_engine_type.h" 12 "components/search_engines/search_engine_type.h"
13 ], 13 ],
14 "schema": [ 14 "schema": [
15 { "field": "name", "type": "string16" }, 15 { "field": "name", "type": "string16" },
16 { "field": "keyword", "type": "string16" }, 16 { "field": "keyword", "type": "string16" },
17 { "field": "favicon_url", "type": "string" }, 17 { "field": "favicon_url", "type": "string" },
18 { "field": "search_url", "type": "string" }, 18 { "field": "search_url", "type": "string" },
19 { 19 {
20 "field": "encoding", 20 "field": "encoding",
21 "type": "string", 21 "type": "string",
22 "default": "UTF-8", 22 "default": "UTF-8",
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // the future; in such a case the localized engines will transparently 82 // the future; in such a case the localized engines will transparently
83 // replace the previous, non-localized versions. For engines where we need 83 // replace the previous, non-localized versions. For engines where we need
84 // two instances to appear for one country (e.g. Bing Search U.S. English 84 // two instances to appear for one country (e.g. Bing Search U.S. English
85 // and Spanish), we must use two different unique IDs (and different 85 // and Spanish), we must use two different unique IDs (and different
86 // keywords). 86 // keywords).
87 // 87 //
88 // See prepopulated_engines.json for the list of available IDs. 88 // See prepopulated_engines.json for the list of available IDs.
89 { "field": "id", "type": "int" } 89 { "field": "id", "type": "int" }
90 ] 90 ]
91 } 91 }
OLDNEW
« no previous file with comments | « components/search_engines/prepopulated_engines.json ('k') | components/search_engines/search_engine_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698