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

Unified Diff: chrome/browser/browsing_data_database_helper_unittest.cc

Issue 6532034: GTTF: Use a fresh TestingBrowserProcess for each test, part #2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 10 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/browsing_data_database_helper_unittest.cc
===================================================================
--- chrome/browser/browsing_data_database_helper_unittest.cc (revision 75925)
+++ chrome/browser/browsing_data_database_helper_unittest.cc (working copy)
@@ -5,11 +5,15 @@
#include "chrome/browser/browsing_data_database_helper.h"
#include "base/file_util.h"
+#include "chrome/test/testing_browser_process_test.h"
#include "chrome/test/testing_profile.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
-TEST(CannedBrowsingDataDatabaseTest, Empty) {
+
+typedef TestingBrowserProcessTest CannedBrowsingDataDatabaseTest;
+
+TEST_F(CannedBrowsingDataDatabaseTest, Empty) {
TestingProfile profile;
const GURL origin("http://host1:1/");
@@ -24,4 +28,5 @@
helper->Reset();
ASSERT_TRUE(helper->empty());
}
+
} // namespace
« no previous file with comments | « chrome/browser/browsing_data_appcache_helper_unittest.cc ('k') | chrome/browser/browsing_data_indexed_db_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698