Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Side by Side Diff: chrome/browser/search/search_test_utils.h

Issue 20388003: Reload Instant NTP and Instant-process tabs on search url change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added ui and unit tests Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698