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

Unified Diff: chrome/browser/metrics/metrics_service_uitest.cc

Issue 7601006: GTTF: Use a fresh TestingBrowserProcess for each test, part #5 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' 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/metrics/metrics_service_uitest.cc
===================================================================
--- chrome/browser/metrics/metrics_service_uitest.cc (revision 96265)
+++ chrome/browser/metrics/metrics_service_uitest.cc (working copy)
@@ -24,6 +24,7 @@
#include "chrome/test/automation/browser_proxy.h"
#include "chrome/test/automation/tab_proxy.h"
#include "chrome/test/ui/ui_test.h"
+#include "content/common/notification_service.h"
#include "net/base/net_util.h"
class MetricsServiceTest : public UITest {
@@ -56,6 +57,13 @@
FilePath path = user_data_dir().Append(chrome::kLocalStateFilename);
return PrefServiceMockBuilder().WithUserFilePrefs(path).Create();
}
+#if defined(OS_WIN)
+ // This is not really Windows-specific, the transition is just being done
+ // in stages, and Windows is first. See below for more info.
+ // TODO(phajdan.jr): Remove #ifdef after fixing http://crbug.com/61062.
+ private:
+ NotificationService notification_service_;
+#endif
};
TEST_F(MetricsServiceTest, CloseRenderersNormally) {

Powered by Google App Engine
This is Rietveld 408576698