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

Unified Diff: chrome/browser/chromeos/net/wake_on_wifi_manager_unittest.cc

Issue 2549623006: Fix TestBrowserThread destruction order in CrOS tests. (Closed)
Patch Set: +comment on Leaky Created 4 years 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/chromeos/net/wake_on_wifi_manager_unittest.cc
diff --git a/chrome/browser/chromeos/net/wake_on_wifi_manager_unittest.cc b/chrome/browser/chromeos/net/wake_on_wifi_manager_unittest.cc
index c3f2c06eff3ca14fd1f5e79a810f7bfc0113b5ae..b5b4a15acaa5fb6ccb038170cf92a9d93ea7ad37 100644
--- a/chrome/browser/chromeos/net/wake_on_wifi_manager_unittest.cc
+++ b/chrome/browser/chromeos/net/wake_on_wifi_manager_unittest.cc
@@ -31,13 +31,15 @@ class WakeOnWifiObserverTest : public ::testing::Test {
}
~WakeOnWifiObserverTest() override {}
+ private:
+ // Must outlive |profile_|.
+ content::TestBrowserThreadBundle thread_bundle_;
+
protected:
StrictMock<MockNetworkDeviceHandler> mock_network_device_handler_;
TestingProfile profile_;
private:
- content::TestBrowserThreadBundle thread_bundle_;
-
DISALLOW_COPY_AND_ASSIGN(WakeOnWifiObserverTest);
};

Powered by Google App Engine
This is Rietveld 408576698