• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_SEARCH_ENGINE_TYPE_H_
6 #define CHROME_BROWSER_SEARCH_ENGINES_SEARCH_ENGINE_TYPE_H_
7 #pragma once
8 
9 // Fills logo slot for search engines with no logo available.
10 static const int kNoSearchEngineLogo = 0;
11 
12 // Enum to record the user's default search engine choice in UMA.  Add new
13 // search engines at the bottom and do not delete from this list, so as not
14 // to disrupt UMA data already recorded.
15 enum SearchEngineType {
16   SEARCH_ENGINE_OTHER = 0,  // At the top in case of future list changes.
17   SEARCH_ENGINE_GOOGLE,
18   SEARCH_ENGINE_YAHOO,
19   SEARCH_ENGINE_YAHOOJP,
20   SEARCH_ENGINE_BING,
21   SEARCH_ENGINE_ASK,
22   SEARCH_ENGINE_YANDEX,
23   SEARCH_ENGINE_SEZNAM,
24   SEARCH_ENGINE_CENTRUM,
25   SEARCH_ENGINE_NETSPRINT,
26   SEARCH_ENGINE_VIRGILIO,
27   SEARCH_ENGINE_MAILRU,
28   SEARCH_ENGINE_ABCSOK,
29   SEARCH_ENGINE_ALTAVISTA,
30   SEARCH_ENGINE_BAIDU,
31   SEARCH_ENGINE_DAUM,
32   SEARCH_ENGINE_DELFI,
33   SEARCH_ENGINE_DIRI,
34   SEARCH_ENGINE_GOO,
35   SEARCH_ENGINE_IN,
36   SEARCH_ENGINE_NAJDI,
37   SEARCH_ENGINE_NAVER,
38   SEARCH_ENGINE_NETI,
39   SEARCH_ENGINE_OK,
40   SEARCH_ENGINE_POGODAK,
41   SEARCH_ENGINE_POGODOK_MK,
42   SEARCH_ENGINE_RAMBLER,
43   SEARCH_ENGINE_SANOOK,
44   SEARCH_ENGINE_SAPO,
45   SEARCH_ENGINE_TUT,
46   SEARCH_ENGINE_WALLA,
47   SEARCH_ENGINE_ZOZNAM,
48   SEARCH_ENGINE_YAHOOQC,
49   SEARCH_ENGINE_MAX  // Bounding max value needed for UMA histogram macro.
50 };
51 
52 #endif  // CHROME_BROWSER_SEARCH_ENGINES_SEARCH_ENGINE_TYPE_H_
53