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

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

Issue 2919413003: Fix network service hanging with empty bodies. (Closed)
Patch Set: review comments 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
« no previous file with comments | « content/test/data/empty.html ('k') | testing/buildbot/filters/mojo.fyi.network_content_browsertests.filter » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..6ed1946ce3aef8a1b1e05fda471f64b811835fb1 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;
}
@@ -63,6 +67,7 @@ class MOJO_CPP_BINDINGS_EXPORT SyncCallRestrictions {
private:
// DO NOT ADD ANY OTHER FRIEND STATEMENTS, talk to mojo/OWNERS first.
// BEGIN ALLOWED USAGE.
+ friend class content::BrowserTestBase; // Test-only.
friend class ui::Gpu; // http://crbug.com/620058
// LevelDBMojoProxy makes same-process sync calls from the DB thread.
friend class leveldb::LevelDBMojoProxy;
« no previous file with comments | « content/test/data/empty.html ('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