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

Unified Diff: chrome/browser/search_engines/prepopulated_engines.json

Issue 11377049: Moving prepopulated search engines to a JSON file. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/search_engines/prepopulated_engines.json
diff --git a/chrome/browser/search_engines/prepopulated_engines.json b/chrome/browser/search_engines/prepopulated_engines.json
new file mode 100644
index 0000000000000000000000000000000000000000..9876bb44108386b9cca44f0dcca748c936ebbd39
--- /dev/null
+++ b/chrome/browser/search_engines/prepopulated_engines.json
@@ -0,0 +1,30 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This file is used by json_to_struct.py to generate prepopulated_engined.h/cc.
Peter Kasting 2012/11/08 19:02:25 Typo
beaudoin 2012/11/09 04:16:53 Done.
+
+// Engine definitions. See prepopulated_engines_schema.json for the field
+// definitions.
+
+{
+ "abcsokk": {
+ "name": "ABC S\u00f8k",
+ "keyword": "abcsok.no",
+ "favicon_url": "http://abcsok.no/favicon.ico",
+ "search_url": "http://abcsok.no/index.html?q={searchTerms}",
+ "encoding": "UTF-8",
Peter Kasting 2012/11/08 19:02:25 Let's make this field default to UTF-8 since that'
beaudoin 2012/11/09 04:16:53 Done.
+ "type": "SEARCH_ENGINE_ABCSOK",
+ "id": 72
+ },
+
+ "altavista": {
+ "name": "AltaVista",
+ "keyword": "altavista.com",
+ "favicon_url": "http://www.altavista.com/favicon.ico",
+ "search_url": "http://www.altavista.com/web/results?q={searchTerms}",
+ "encoding": "UTF-8",
+ "type": "SEARCH_ENGINE_ALTAVISTA",
+ "id": 89
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698