OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 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_SEARCH_TEST_UTILS_H_ |
| 6 #define CHROME_BROWSER_SEARCH_SEARCH_TEST_UTILS_H_ |
| 7 |
| 8 class Profile; |
| 9 |
| 10 namespace search_test_utils { |
| 11 |
| 12 void SetSearchProvider(Profile* profile); |
| 13 |
| 14 // Build an Instant URL with or without a valid search terms replacement key |
| 15 // as per |has_search_term_replacement_key|. Set that URL as the instant URL |
| 16 // for the default search provider. |
| 17 void SetDefaultInstantTemplateUrl(Profile* profile, |
| 18 bool has_search_term_replacement_key); |
| 19 } // namespace search_test_utils |
| 20 |
| 21 #endif // CHROME_BROWSER_SEARCH_SEARCH_TEST_UTILS_H_ |
OLD | NEW |