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

Side by Side Diff: chrome/browser/history/starred_url_database_unittest.cc

Issue 2843061: Header Cleanup: Remove unncessary include of sqlite_utils.h in some files. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: Created 10 years, 5 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/history/history_backend.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <vector> 5 #include <vector>
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "chrome/browser/history/history.h" 10 #include "chrome/browser/history/history.h"
11 #include "chrome/browser/history/starred_url_database.h" 11 #include "chrome/browser/history/starred_url_database.h"
12 #include "chrome/common/chrome_paths.h" 12 #include "chrome/common/chrome_paths.h"
13 #include "chrome/common/sqlite_utils.h"
14 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
15 14
16 namespace history { 15 namespace history {
17 16
18 class StarredURLDatabaseTest : public testing::Test, 17 class StarredURLDatabaseTest : public testing::Test,
19 public StarredURLDatabase { 18 public StarredURLDatabase {
20 public: 19 public:
21 StarredURLDatabaseTest() { 20 StarredURLDatabaseTest() {
22 } 21 }
23 22
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 DeleteURLRow(entry.url_id); 275 DeleteURLRow(entry.url_id);
277 276
278 // Fix up the table. 277 // Fix up the table.
279 ASSERT_TRUE(EnsureStarredIntegrity()); 278 ASSERT_TRUE(EnsureStarredIntegrity());
280 279
281 // The entry we just created should have been nuked. 280 // The entry we just created should have been nuked.
282 ASSERT_EQ(initial_count, GetStarredEntryCount()); 281 ASSERT_EQ(initial_count, GetStarredEntryCount());
283 } 282 }
284 283
285 } // namespace history 284 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/history_backend.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698