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

Unified Diff: mojo/public/cpp/bindings/sync_call_restrictions.h

Issue 2919413003: Fix network service hanging with empty bodies. (Closed)
Patch Set: Created 3 years, 6 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: mojo/public/cpp/bindings/sync_call_restrictions.h
diff --git a/mojo/public/cpp/bindings/sync_call_restrictions.h b/mojo/public/cpp/bindings/sync_call_restrictions.h
index f83f3f0f5ee0fb18fb6e88817faca396bc560039..7ff8d1c0e077e689f154857522a281e5a19d6cc2 100644
--- a/mojo/public/cpp/bindings/sync_call_restrictions.h
+++ b/mojo/public/cpp/bindings/sync_call_restrictions.h
@@ -15,6 +15,10 @@
#define ENABLE_SYNC_CALL_RESTRICTIONS 0
#endif
+namespace content {
+class BrowserTestBase;
+}
+
namespace display {
class ForwardingDisplayDelegate;
}
@@ -61,6 +65,8 @@ class MOJO_CPP_BINDINGS_EXPORT SyncCallRestrictions {
#endif
private:
+ // Test-only.
yzshen1 2017/06/05 21:07:04 Does it make sense to move line 68-69 into the "BE
jam 2017/06/06 00:15:47 Done.
+ friend class content::BrowserTestBase;
// DO NOT ADD ANY OTHER FRIEND STATEMENTS, talk to mojo/OWNERS first.
// BEGIN ALLOWED USAGE.
friend class ui::Gpu; // http://crbug.com/620058
« no previous file with comments | « content/public/test/browser_test_base.cc ('k') | testing/buildbot/filters/mojo.fyi.network_content_browsertests.filter » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698