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 #ifndef CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_ | 5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_ |
6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_ | 6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "chrome/browser/search_engines/search_engine_type.h" | 13 #include "chrome/browser/search_engines/search_engine_type.h" |
14 | 14 |
15 class GURL; | 15 class GURL; |
16 class PrefService; | 16 class PrefService; |
17 class Profile; | 17 class Profile; |
18 class TemplateURL; | 18 class TemplateURL; |
19 | 19 |
20 namespace user_prefs { | 20 namespace user_prefs { |
21 class PrefRegistrySyncable; | 21 class PrefRegistrySyncable; |
22 } | 22 } |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 // Returns the logo at the specified |size| for |template_url|. If no logo is | 73 // Returns the logo at the specified |size| for |template_url|. If no logo is |
74 // known, this will return an empty GURL. | 74 // known, this will return an empty GURL. |
75 // | 75 // |
76 // NOTE: Must be called on the UI thread. | 76 // NOTE: Must be called on the UI thread. |
77 GURL GetLogoURL(const TemplateURL& template_url, LogoSize size); | 77 GURL GetLogoURL(const TemplateURL& template_url, LogoSize size); |
78 | 78 |
79 } // namespace TemplateURLPrepopulateData | 79 } // namespace TemplateURLPrepopulateData |
80 | 80 |
81 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_ | 81 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_ |
OLD | NEW |