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

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

Issue 2649963002: Enable mojo localstorage to actually store on disk. (Closed)
Patch Set: Remove Sync() method, and instead make sure browser test waits long enough. Created 3 years, 10 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/dom_storage/verify_data.html ('k') | no next file » | 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 ee7f006d5f6d41a4f12a46d0798c20b1ee9985e0..39a77a8518bd4b391422997b80ca3d4a95c998e4 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 leveldb {
+class LevelDBMojoProxy;
+}
+
namespace ui {
class Gpu;
}
@@ -52,6 +56,8 @@ class MOJO_CPP_BINDINGS_EXPORT SyncCallRestrictions {
// DO NOT ADD ANY OTHER FRIEND STATEMENTS, talk to mojo/OWNERS first.
// BEGIN ALLOWED USAGE.
friend class ui::Gpu; // http://crbug.com/620058
+ // LevelDBMojoProxy makes same-process sync calls from the DB thread.
+ friend class leveldb::LevelDBMojoProxy;
// END ALLOWED USAGE.
// BEGIN USAGE THAT NEEDS TO BE FIXED.
« no previous file with comments | « content/test/data/dom_storage/verify_data.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698