OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 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_INSTANT_UNITTEST_BASE_H_ | |
6 #define CHROME_BROWSER_SEARCH_INSTANT_UNITTEST_BASE_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "chrome/browser/search/instant_service.h" | |
11 #include "chrome/browser/search_engines/template_url_service.h" | |
12 #include "chrome/test/base/browser_with_test_window_test.h" | |
13 | |
14 class InstantUnitTestBase : public BrowserWithTestWindowTest { | |
samarth
2013/08/12 19:07:28
Comments for what this provides.
Anuj
2013/08/13 00:18:09
Done.
| |
15 protected: | |
16 virtual void SetUp() OVERRIDE; | |
17 virtual void TearDown() OVERRIDE; | |
18 void SetSearchProvider(const std::string& base_url); | |
samarth
2013/08/12 19:07:28
Comments for these two, please.
Anuj
2013/08/13 00:18:09
Done.
| |
19 void NotifyGoogleBaseURLUpdate(const std::string& new_google_base_url); | |
20 | |
21 InstantService* instant_service_; | |
22 TemplateURLService* template_url_service_; | |
23 }; | |
24 | |
25 #endif // CHROME_BROWSER_SEARCH_INSTANT_UNITTEST_BASE_H_ | |
OLD | NEW |