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

Unified Diff: chrome/browser/search_engines/template_url_service_unittest.cc

Issue 492963005: Stop using UIThreadSearchTermsData for search_engines related tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use make_scoped_ptr Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/search_engines/template_url_service_test_util.cc ('k') | components/components_tests.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search_engines/template_url_service_unittest.cc
diff --git a/chrome/browser/search_engines/template_url_service_unittest.cc b/chrome/browser/search_engines/template_url_service_unittest.cc
index 5e25e0f137c290a0576b60a76d36058045d0ec5d..ffd3cb422d3c88ae1535bbe85ff475583d016ff0 100644
--- a/chrome/browser/search_engines/template_url_service_unittest.cc
+++ b/chrome/browser/search_engines/template_url_service_unittest.cc
@@ -37,30 +37,6 @@ using ::testing::StrictMock;
namespace {
-// TestSearchTermsData --------------------------------------------------------
-
-// Simple implementation of SearchTermsData.
-class TestSearchTermsData : public SearchTermsData {
- public:
- explicit TestSearchTermsData(const char* google_base_url);
-
- virtual std::string GoogleBaseURLValue() const OVERRIDE;
-
- private:
- std::string google_base_url_;
-
- DISALLOW_COPY_AND_ASSIGN(TestSearchTermsData);
-};
-
-TestSearchTermsData::TestSearchTermsData(const char* google_base_url)
- : google_base_url_(google_base_url) {
-}
-
-std::string TestSearchTermsData::GoogleBaseURLValue() const {
- return google_base_url_;
-}
-
-
// QueryHistoryCallbackImpl ---------------------------------------------------
struct QueryHistoryCallbackImpl {
« no previous file with comments | « chrome/browser/search_engines/template_url_service_test_util.cc ('k') | components/components_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698