diff options
Diffstat (limited to 'chrome/browser/history')
-rw-r--r-- | chrome/browser/history/query_parser_unittest.cc | 4 | ||||
-rw-r--r-- | chrome/browser/history/url_database_unittest.cc | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/chrome/browser/history/query_parser_unittest.cc b/chrome/browser/history/query_parser_unittest.cc index 25d4f4e..6d425e91 100644 --- a/chrome/browser/history/query_parser_unittest.cc +++ b/chrome/browser/history/query_parser_unittest.cc @@ -7,8 +7,6 @@ #include "chrome/common/scoped_vector.h" #include "testing/gtest/include/gtest/gtest.h" -namespace { - class QueryParserTest : public testing::Test { public: struct TestData { @@ -22,8 +20,6 @@ class QueryParserTest : public testing::Test { QueryParser query_parser_; }; -}; // namespace - // Test helper: Convert a user query string to a SQLite query string. std::wstring QueryParserTest::QueryToString(const std::wstring& query) { std::wstring sqlite_query; diff --git a/chrome/browser/history/url_database_unittest.cc b/chrome/browser/history/url_database_unittest.cc index 9520fa7..a33829a 100644 --- a/chrome/browser/history/url_database_unittest.cc +++ b/chrome/browser/history/url_database_unittest.cc @@ -28,6 +28,8 @@ bool IsURLRowEqual(const URLRow& a, a.last_visit() - b.last_visit() <= TimeDelta::FromSeconds(1) && a.hidden() == b.hidden(); } + +} // namespace class URLDatabaseTest : public testing::Test, public URLDatabase { @@ -70,8 +72,6 @@ class URLDatabaseTest : public testing::Test, SqliteStatementCache* statement_cache_; }; -} // namespace - // Test add and query for the URL table in the HistoryDatabase TEST_F(URLDatabaseTest, AddURL) { // first, add two URLs |