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

Unified Diff: content/browser/background_fetch/background_fetch_test_base.h

Issue 2973233002: [Background Fetch] Cleanup/fix thread safety (Closed)
Patch Set: Remove n.b. from comments Created 3 years, 5 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: content/browser/background_fetch/background_fetch_test_base.h
diff --git a/content/browser/background_fetch/background_fetch_test_base.h b/content/browser/background_fetch/background_fetch_test_base.h
index 71482cd37c847146eaabb8466aa4d37cacd42916..2bc8f6835c0492219225c24979c7ad358e2aed12 100644
--- a/content/browser/background_fetch/background_fetch_test_base.h
+++ b/content/browser/background_fetch/background_fetch_test_base.h
@@ -100,10 +100,12 @@ class BackgroundFetchTestBase : public ::testing::Test {
// Returns the origin that should be used for Background Fetch tests.
const url::Origin& origin() const { return origin_; }
+ protected:
+ TestBrowserThreadBundle thread_bundle_; // Must be first member.
+
private:
class RespondingDownloadManager;
- TestBrowserThreadBundle thread_bundle_;
TestBrowserContext browser_context_;
RespondingDownloadManager* download_manager_; // owned by |browser_context_|

Powered by Google App Engine
This is Rietveld 408576698