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

Unified Diff: chrome/browser/history/history_database.h

Issue 10872032: Revert 152946 - Replace HistoryQuickProvider protobuf-based caching with an SQLite-based database. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
Index: chrome/browser/history/history_database.h
===================================================================
--- chrome/browser/history/history_database.h (revision 152962)
+++ chrome/browser/history/history_database.h (working copy)
@@ -149,16 +149,13 @@
virtual base::Time GetEarlyExpirationThreshold();
virtual void UpdateEarlyExpirationThreshold(base::Time threshold);
- // Returns the database connection so that unit tests can directly access it.
- sql::Connection* get_db_for_testing() { return &db_; }
-
private:
#if defined(OS_ANDROID)
// AndroidProviderBackend uses the |db_|.
friend class AndroidProviderBackend;
FRIEND_TEST_ALL_PREFIXES(AndroidURLsMigrationTest, MigrateToVersion22);
#endif
- friend class InMemoryURLIndexBaseTest;
+ friend class InMemoryURLIndexTest;
FRIEND_TEST_ALL_PREFIXES(IconMappingMigrationTest, TestIconMappingMigration);
// Overridden from URLDatabase:
« no previous file with comments | « chrome/browser/history/history_browsertest.cc ('k') | chrome/browser/history/in_memory_url_cache_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698