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

Unified Diff: chrome/browser/bookmarks/bookmark_model_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/bookmarks/bookmark_model_unittest.cc
===================================================================
--- chrome/browser/bookmarks/bookmark_model_unittest.cc (revision 75925)
+++ chrome/browser/bookmarks/bookmark_model_unittest.cc (working copy)
@@ -25,6 +25,7 @@
#include "chrome/common/notification_registrar.h"
#include "chrome/common/notification_source.h"
#include "chrome/test/model_test_utils.h"
+#include "chrome/test/testing_browser_process_test.h"
#include "chrome/test/testing_profile.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/models/tree_node_model.h"
@@ -48,7 +49,8 @@
} // anonymous namespace
-class BookmarkModelTest : public testing::Test, public BookmarkModelObserver {
+class BookmarkModelTest : public TestingBrowserProcessTest,
+ public BookmarkModelObserver {
public:
struct ObserverDetails {
ObserverDetails() {
@@ -648,7 +650,7 @@
} // namespace
// Test class that creates a BookmarkModel with a real history backend.
-class BookmarkModelTestWithProfile : public testing::Test,
+class BookmarkModelTestWithProfile : public TestingBrowserProcessTest,
public BookmarkModelObserver {
public:
BookmarkModelTestWithProfile()
« no previous file with comments | « chrome/browser/bookmarks/bookmark_index_unittest.cc ('k') | chrome/browser/bookmarks/bookmark_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698