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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_bubble_view_browsertest.cc

Issue 2835233002: Fix integration tests in src/chrome and src/extensions so that we can turn on IO thread checks wi... (Closed)
Patch Set: ready for review Created 3 years, 8 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/ui/views/bookmarks/bookmark_bubble_view_browsertest.cc
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view_browsertest.cc b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view_browsertest.cc
index c038dde5a782b42c9d0ff07f3255d60ec261a806..46b8fc0252f43055b268c787c46912705fd585d0 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view_browsertest.cc
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view_browsertest.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 "base/threading/thread_restrictions.h"
#include "chrome/browser/bookmarks/bookmark_model_factory.h"
#include "chrome/browser/signin/fake_signin_manager_builder.h"
#include "chrome/browser/signin/signin_manager_factory.h"
@@ -82,17 +83,20 @@ class BookmarkBubbleViewBrowserTest : public DialogBrowserTest {
IN_PROC_BROWSER_TEST_F(BookmarkBubbleViewBrowserTest,
InvokeDialog_bookmark_details) {
+ base::ThreadRestrictions::ScopedAllowIO allow_io;
RunDialog();
}
IN_PROC_BROWSER_TEST_F(BookmarkBubbleViewBrowserTest,
InvokeDialog_bookmark_details_signed_in) {
+ base::ThreadRestrictions::ScopedAllowIO allow_io;
RunDialog();
}
#if defined(OS_WIN)
IN_PROC_BROWSER_TEST_F(BookmarkBubbleViewBrowserTest,
InvokeDialog_ios_promotion) {
+ base::ThreadRestrictions::ScopedAllowIO allow_io;
RunDialog();
}
#endif

Powered by Google App Engine
This is Rietveld 408576698