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

Side by Side Diff: chrome/browser/autocomplete/history_url_provider_unittest.cc

Issue 689553002: Cleanup: Remove unneeded path_service.h includes in base and chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win Created 6 years, 1 month 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
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 #include "chrome/browser/autocomplete/history_url_provider.h" 5 #include "chrome/browser/autocomplete/history_url_provider.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/path_service.h"
11 #include "base/prefs/pref_service.h" 10 #include "base/prefs/pref_service.h"
12 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
13 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
14 #include "base/time/time.h" 13 #include "base/time/time.h"
15 #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h" 14 #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h"
16 #include "chrome/browser/autocomplete/history_quick_provider.h" 15 #include "chrome/browser/autocomplete/history_quick_provider.h"
17 #include "chrome/browser/history/history_service.h" 16 #include "chrome/browser/history/history_service.h"
18 #include "chrome/browser/history/history_service_factory.h" 17 #include "chrome/browser/history/history_service_factory.h"
19 #include "chrome/browser/search_engines/chrome_template_url_service_client.h" 18 #include "chrome/browser/search_engines/chrome_template_url_service_client.h"
20 #include "chrome/browser/search_engines/template_url_service_factory.h" 19 #include "chrome/browser/search_engines/template_url_service_factory.h"
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after
1023 // Test the experiment (scoring enabled). 1022 // Test the experiment (scoring enabled).
1024 autocomplete_->scoring_params_.experimental_scoring_enabled = true; 1023 autocomplete_->scoring_params_.experimental_scoring_enabled = true;
1025 ASSERT_NO_FATAL_FAILURE(RunTest(ASCIIToUTF16(test_cases[i].input), 1024 ASSERT_NO_FATAL_FAILURE(RunTest(ASCIIToUTF16(test_cases[i].input),
1026 std::string(), false, output, max_matches)); 1025 std::string(), false, output, max_matches));
1027 for (int j = 0; j < max_matches; ++j) { 1026 for (int j = 0; j < max_matches; ++j) {
1028 EXPECT_EQ(test_cases[i].matches[j].experiment_relevance, 1027 EXPECT_EQ(test_cases[i].matches[j].experiment_relevance,
1029 matches_[j].relevance); 1028 matches_[j].relevance);
1030 } 1029 }
1031 } 1030 }
1032 } 1031 }
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_browsertest.cc ('k') | chrome/browser/autocomplete/shortcuts_backend_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698