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

Unified Diff: chrome/browser/profiles/profile_info_cache_unittest.cc

Issue 7744039: Switch ChromeTestSuite to the same convention as ContentTestSuite: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixing Created 9 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/profiles/profile_info_cache_unittest.cc
diff --git a/chrome/browser/profiles/profile_info_cache_unittest.cc b/chrome/browser/profiles/profile_info_cache_unittest.cc
index f56281da07aac7cf73c6aa98999e1a5b0dd6eb4a..133970bc18c03626e5ff0b5a838cc372b1fb3059 100644
--- a/chrome/browser/profiles/profile_info_cache_unittest.cc
+++ b/chrome/browser/profiles/profile_info_cache_unittest.cc
@@ -6,17 +6,20 @@
#include "base/stringprintf.h"
#include "base/utf_string_conversions.h"
-#include "chrome/test/base/testing_browser_process_test.h"
+#include "chrome/browser/browser_process.h"
+#include "chrome/test/base/testing_browser_process.h"
#include "chrome/test/base/testing_pref_service.h"
+#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/image/image.h"
namespace {
-class ProfileInfoCacheUnittests : public TestingBrowserProcessTest {
+class ProfileInfoCacheUnittests : public testing::Test {
protected:
- ProfileInfoCacheUnittests() : local_state_(testing_browser_process_.get()) {
+ ProfileInfoCacheUnittests()
+ : local_state_(static_cast<TestingBrowserProcess*>(g_browser_process)) {
cache_.reset(new ProfileInfoCache(local_state_.Get(), GetUserDataDir()));
}

Powered by Google App Engine
This is Rietveld 408576698