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

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

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.h
diff --git a/chrome/browser/search_engines/prepopulated_engines.h b/chrome/browser/search_engines/prepopulated_engines.h
new file mode 100644
index 0000000000000000000000000000000000000000..6d89bef1583bc267853b50279cfea11713411760
--- /dev/null
+++ b/chrome/browser/search_engines/prepopulated_engines.h
@@ -0,0 +1,35 @@
+// 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.
+
+#ifndef CHROME_BROWSER_SEARCH_ENGINES_PREPOPULATED_ENGINES_H_
+#define CHROME_BROWSER_SEARCH_ENGINES_PREPOPULATED_ENGINES_H_
+
+#include "chrome/browser/search_engines/search_engine_type.h"
+
+namespace search_engines {
+
+struct PrepopulatedEngine {
+ const wchar_t* const name;
+ const wchar_t* const keyword;
+ const char* const favicon_url;
+ const char* const search_url;
+ const char* const encoding;
+ const char* const suggest_url;
+ const char* const instant_url;
+ const char* const alternate_urls;
+ const SearchEngineType type;
+ const int id;
+};
+
+extern const PrepopulatedEngine altavista;
+extern const PrepopulatedEngine abcsokk;
+
+} // namespace search_engines
+
+#endif // CHROME_BROWSER_SEARCH_ENGINES_PREPOPULATED_ENGINES_H_

Powered by Google App Engine
This is Rietveld 408576698