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

Unified Diff: chrome/browser/sync/test/integration/sync_test.cc

Issue 10409022: Move application lifetime functionality off BrowserList. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/test/integration/sync_test.cc
===================================================================
--- chrome/browser/sync/test/integration/sync_test.cc (revision 137868)
+++ chrome/browser/sync/test/integration/sync_test.cc (working copy)
@@ -19,6 +19,7 @@
#include "base/utf_string_conversions.h"
#include "base/values.h"
#include "chrome/browser/google/google_url_tracker.h"
+#include "chrome/browser/lifetime/application_lifetime.h"
#include "chrome/browser/password_manager/encryptor.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_manager.h"
@@ -349,7 +350,7 @@
void SyncTest::CleanUpOnMainThread() {
// Close all browser windows.
- BrowserList::CloseAllBrowsers();
+ browser::CloseAllBrowsers();
ui_test_utils::RunAllPendingInMessageLoop();
// All browsers should be closed at this point, or else we could see memory
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698