diff options
author | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-01 22:02:22 +0000 |
---|---|---|
committer | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-01 22:02:22 +0000 |
commit | 5b855a6b9d61b10f8635cce0e187a1c162b5b428 (patch) | |
tree | dcfdba8cb7dd8d6b1fd5496b5743fa059811017b /webkit/database/database_tracker_unittest.cc | |
parent | b03cb1e38d95c04a69902c9d4d471f79d806066e (diff) | |
download | chromium_src-5b855a6b9d61b10f8635cce0e187a1c162b5b428.zip chromium_src-5b855a6b9d61b10f8635cce0e187a1c162b5b428.tar.gz chromium_src-5b855a6b9d61b10f8635cce0e187a1c162b5b428.tar.bz2 |
Revert 43381 - Add some safeguards in DatabaseTracker to prevent writing anything to disk for incognito.
TEST=manual and database_tracker_unittest.cc
BUG=none
Review URL: http://codereview.chromium.org/1597003
TBR=michaeln@chromium.org
Review URL: http://codereview.chromium.org/1581007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43390 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/database/database_tracker_unittest.cc')
-rw-r--r-- | webkit/database/database_tracker_unittest.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/webkit/database/database_tracker_unittest.cc b/webkit/database/database_tracker_unittest.cc index e606c7e..88e8981 100644 --- a/webkit/database/database_tracker_unittest.cc +++ b/webkit/database/database_tracker_unittest.cc @@ -167,7 +167,7 @@ TEST(DatabaseTrackerTest, DeleteOpenDatabase) { tracker->RemoveObserver(&observer); } -TEST(DatabaseTrackerTest, DatabaseTracker) { +TEST(DatabaseTrackerTest, TestIt) { // Initialize the tracker database. ScopedTempDir temp_dir; EXPECT_TRUE(temp_dir.CreateUniqueTempDir()); @@ -361,10 +361,4 @@ TEST(DatabaseTrackerTest, DatabaseTracker) { EXPECT_EQ(origin1_quota, tracker->GetOriginSpaceAvailable(kOrigin1)); } -TEST(DatabaseTrackerTest, NoInitIncognito) { - scoped_refptr<DatabaseTracker> tracker(new DatabaseTracker(FilePath())); - EXPECT_TRUE(tracker->is_incognito_); - EXPECT_FALSE(tracker->LazyInit()); -} - } // namespace webkit_database |