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/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
15 #include "chrome/browser/search_engines/search_engine_type.h" | 15 #include "components/search_engines/search_engine_type.h" |
16 | 16 |
17 class GURL; | 17 class GURL; |
18 class PrefService; | 18 class PrefService; |
19 class Profile; | 19 class Profile; |
20 class TemplateURL; | 20 class TemplateURL; |
21 struct TemplateURLData; | 21 struct TemplateURLData; |
22 | 22 |
23 namespace user_prefs { | 23 namespace user_prefs { |
24 class PrefRegistrySyncable; | 24 class PrefRegistrySyncable; |
25 } | 25 } |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 77 |
78 // Returns the logo at the specified |size| for |template_url|. If no logo is | 78 // Returns the logo at the specified |size| for |template_url|. If no logo is |
79 // known, this will return an empty GURL. | 79 // known, this will return an empty GURL. |
80 // | 80 // |
81 // NOTE: Must be called on the UI thread. | 81 // NOTE: Must be called on the UI thread. |
82 GURL GetLogoURL(const TemplateURL& template_url, LogoSize size); | 82 GURL GetLogoURL(const TemplateURL& template_url, LogoSize size); |
83 | 83 |
84 } // namespace TemplateURLPrepopulateData | 84 } // namespace TemplateURLPrepopulateData |
85 | 85 |
86 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_ | 86 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_ |
OLD | NEW |