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_UTIL_H_ | 5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_UTIL_H_ |
6 #define CHROME_BROWSER_SEARCH_ENGINES_UTIL_H_ | 6 #define CHROME_BROWSER_SEARCH_ENGINES_UTIL_H_ |
7 #pragma once | |
8 | 7 |
9 // This file contains utility functions for search engine functionality. | 8 // This file contains utility functions for search engine functionality. |
10 #include <set> | 9 #include <set> |
11 #include <string> | 10 #include <string> |
12 #include <vector> | 11 #include <vector> |
13 | 12 |
14 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
15 #include "base/string16.h" | 14 #include "base/string16.h" |
16 #include "chrome/browser/search_engines/template_url_service.h" | 15 #include "chrome/browser/search_engines/template_url_service.h" |
17 | 16 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 // helper used by GetSearchProvidersUsingKeywordResult(), but is declared here | 65 // helper used by GetSearchProvidersUsingKeywordResult(), but is declared here |
67 // so it's accessible by unittests. | 66 // so it's accessible by unittests. |
68 void RemoveDuplicatePrepopulateIDs( | 67 void RemoveDuplicatePrepopulateIDs( |
69 WebDataService* service, | 68 WebDataService* service, |
70 const ScopedVector<TemplateURL>& prepopulated_urls, | 69 const ScopedVector<TemplateURL>& prepopulated_urls, |
71 TemplateURL* default_search_provider, | 70 TemplateURL* default_search_provider, |
72 TemplateURLService::TemplateURLVector* template_urls, | 71 TemplateURLService::TemplateURLVector* template_urls, |
73 std::set<std::string>* removed_keyword_guids); | 72 std::set<std::string>* removed_keyword_guids); |
74 | 73 |
75 #endif // CHROME_BROWSER_SEARCH_ENGINES_UTIL_H_ | 74 #endif // CHROME_BROWSER_SEARCH_ENGINES_UTIL_H_ |
OLD | NEW |