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

Unified Diff: chrome/browser/tabs/tab_strip_model_unittest.cc

Issue 431008: Make SystemMonitor not a Singleton and move it out of base (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: fix ChromeFrame build Created 11 years, 1 month 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/tabs/tab_strip_model_unittest.cc
diff --git a/chrome/browser/tabs/tab_strip_model_unittest.cc b/chrome/browser/tabs/tab_strip_model_unittest.cc
index 70331f97bfe5ae8f2e24978107a602878fe82dfd..00afd034ff53734fcdcb2da76ac37840fbd0c126 100644
--- a/chrome/browser/tabs/tab_strip_model_unittest.cc
+++ b/chrome/browser/tabs/tab_strip_model_unittest.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "app/system_monitor.h"
#include "base/file_util.h"
#include "base/path_service.h"
#include "base/string_util.h"
@@ -151,6 +152,10 @@ class TabStripModelTest : public RenderViewHostTestHarness {
std::wstring test_dir_;
std::wstring profile_path_;
std::map<TabContents*, int> foo_;
+
+ // ProfileManager requires a SystemMonitor.
+ SystemMonitor system_monitor;
+
ProfileManager pm_;
};

Powered by Google App Engine
This is Rietveld 408576698