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

Side by Side Diff: components/history/core/browser/url_database_unittest.cc

Issue 689563002: Cleanup: Remove unneeded path_service.h includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/files/file_path.h" 5 #include "base/files/file_path.h"
6 #include "base/files/scoped_temp_dir.h" 6 #include "base/files/scoped_temp_dir.h"
7 #include "base/path_service.h"
8 #include "base/strings/string_util.h" 7 #include "base/strings/string_util.h"
9 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
10 #include "components/history/core/browser/keyword_search_term.h" 9 #include "components/history/core/browser/keyword_search_term.h"
11 #include "components/history/core/browser/url_database.h" 10 #include "components/history/core/browser/url_database.h"
12 #include "sql/connection.h" 11 #include "sql/connection.h"
13 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
14 13
15 using base::Time; 14 using base::Time;
16 using base::TimeDelta; 15 using base::TimeDelta;
17 16
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 ASSERT_EQ(1u, rows.size()); 322 ASSERT_EQ(1u, rows.size());
324 EXPECT_EQ(keyword2, rows[0].term); 323 EXPECT_EQ(keyword2, rows[0].term);
325 EXPECT_EQ(url_id3, rows[0].url_id); 324 EXPECT_EQ(url_id3, rows[0].url_id);
326 rows.clear(); 325 rows.clear();
327 // No row for keyword. 326 // No row for keyword.
328 ASSERT_TRUE(GetKeywordSearchTermRows(keyword, &rows)); 327 ASSERT_TRUE(GetKeywordSearchTermRows(keyword, &rows));
329 EXPECT_TRUE(rows.empty()); 328 EXPECT_TRUE(rows.empty());
330 } 329 }
331 330
332 } // namespace history 331 } // namespace history
OLDNEW
« no previous file with comments | « components/bookmarks/browser/bookmark_model_unittest.cc ('k') | components/nacl/browser/nacl_broker_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698