| 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 #include "chrome/browser/search_engines/template_url_prepopulate_data.h" | 5 #include "chrome/browser/search_engines/template_url_prepopulate_data.h" |
| 6 | 6 |
| 7 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 7 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 8 #include <locale.h> | 8 #include <locale.h> |
| 9 #endif | 9 #endif |
| 10 | 10 |
| (...skipping 1078 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1089 const PrepopulatedEngine google = { | 1089 const PrepopulatedEngine google = { |
| 1090 L"Google", | 1090 L"Google", |
| 1091 L"google.com", // This will be dynamically updated by the TemplateURL system. | 1091 L"google.com", // This will be dynamically updated by the TemplateURL system. |
| 1092 "http://www.google.com/favicon.ico", | 1092 "http://www.google.com/favicon.ico", |
| 1093 "{google:baseURL}search?q={searchTerms}&{google:RLZ}" | 1093 "{google:baseURL}search?q={searchTerms}&{google:RLZ}" |
| 1094 "{google:acceptedSuggestion}{google:originalQueryForSuggestion}" | 1094 "{google:acceptedSuggestion}{google:originalQueryForSuggestion}" |
| 1095 "{google:assistedQueryStats}{google:searchFieldtrialParameter}" | 1095 "{google:assistedQueryStats}{google:searchFieldtrialParameter}" |
| 1096 "sourceid=chrome&ie={inputEncoding}", | 1096 "sourceid=chrome&ie={inputEncoding}", |
| 1097 "UTF-8", | 1097 "UTF-8", |
| 1098 "{google:baseSuggestURL}search?{google:searchFieldtrialParameter}" | 1098 "{google:baseSuggestURL}search?{google:searchFieldtrialParameter}" |
| 1099 "client=chrome&hl={language}&q={searchTerms}", | 1099 "client=chrome&hl={language}&q={searchTerms}&" |
| 1100 "{google:suggestAPIKeyParameter}", |
| 1100 "{google:baseURL}webhp?sourceid=chrome-instant&{google:RLZ}" | 1101 "{google:baseURL}webhp?sourceid=chrome-instant&{google:RLZ}" |
| 1101 "{google:instantEnabledParameter}ie={inputEncoding}", | 1102 "{google:instantEnabledParameter}ie={inputEncoding}", |
| 1102 SEARCH_ENGINE_GOOGLE, | 1103 SEARCH_ENGINE_GOOGLE, |
| 1103 1, | 1104 1, |
| 1104 }; | 1105 }; |
| 1105 | 1106 |
| 1106 const PrepopulatedEngine guruji = { | 1107 const PrepopulatedEngine guruji = { |
| 1107 L"guruji", | 1108 L"guruji", |
| 1108 L"guruji.com", | 1109 L"guruji.com", |
| 1109 "http://guruji.com/favicon.ico", | 1110 "http://guruji.com/favicon.ico", |
| (...skipping 2393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3503 g_country_code_at_install = kCountryIDUnknown; | 3504 g_country_code_at_install = kCountryIDUnknown; |
| 3504 } else { | 3505 } else { |
| 3505 g_country_code_at_install = | 3506 g_country_code_at_install = |
| 3506 CountryCharsToCountryIDWithUpdate(country_code[0], country_code[1]); | 3507 CountryCharsToCountryIDWithUpdate(country_code[0], country_code[1]); |
| 3507 } | 3508 } |
| 3508 } | 3509 } |
| 3509 | 3510 |
| 3510 #endif | 3511 #endif |
| 3511 | 3512 |
| 3512 } // namespace TemplateURLPrepopulateData | 3513 } // namespace TemplateURLPrepopulateData |
| OLD | NEW |