| Index: chrome/browser/history/history_database.h
|
| ===================================================================
|
| --- chrome/browser/history/history_database.h (revision 151481)
|
| +++ chrome/browser/history/history_database.h (working copy)
|
| @@ -149,13 +149,16 @@
|
| 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 InMemoryURLIndexTest;
|
| + friend class InMemoryURLIndexBaseTest;
|
| FRIEND_TEST_ALL_PREFIXES(IconMappingMigrationTest, TestIconMappingMigration);
|
|
|
| // Overridden from URLDatabase:
|
|
|