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

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

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.cc
diff --git a/chrome/browser/search_engines/prepopulated_engines.cc b/chrome/browser/search_engines/prepopulated_engines.cc
new file mode 100644
index 0000000000000000000000000000000000000000..492d8b40b98ebc3b9bad1dff073696e6bed07df9
--- /dev/null
+++ b/chrome/browser/search_engines/prepopulated_engines.cc
@@ -0,0 +1,42 @@
+// 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.
+
+// GENERATED FROM THE SCHEMA DEFINITION AND CONTENT IN
+// chrome/browser/search_engines/prepopulated_engines_schema.json
+// chrome/browser/search_engines/prepopulated_engines.json
+// DO NOT EDIT.
+
+#include <stdio.h>
+
+#include "chrome/browser/search_engines/prepopulated_engines.h"
+
+namespace search_engines {
+
+const PrepopulatedEngine altavista = {
+ L"AltaVista",
+ L"altavista.com",
+ "http://www.altavista.com/favicon.ico",
+ "http://www.altavista.com/web/results?q={searchTerms}",
+ "UTF-8",
+ NULL,
+ NULL,
+ NULL,
+ SEARCH_ENGINE_ALTAVISTA,
+ 89,
+};
+
+const PrepopulatedEngine abcsokk = {
+ L"ABC S\x00f8k",
+ L"abcsok.no",
+ "http://abcsok.no/favicon.ico",
+ "http://abcsok.no/index.html?q={searchTerms}",
+ "UTF-8",
+ NULL,
+ NULL,
+ NULL,
+ SEARCH_ENGINE_ABCSOK,
+ 72,
+};
+
+} // namespace search_engines

Powered by Google App Engine
This is Rietveld 408576698