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

Unified Diff: base/threading/thread_restrictions.h

Issue 2085353003: Change ClipboardMus to use mojo::SyncCallRestrictions::ScopedAllowSyncCall. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « no previous file | mojo/public/cpp/bindings/sync_call_restrictions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/threading/thread_restrictions.h
diff --git a/base/threading/thread_restrictions.h b/base/threading/thread_restrictions.h
index 0c50416c92a41abb7de7433f6de82933cd72738d..90d8433192c39902a87f45e605aed7cdc9ea2184 100644
--- a/base/threading/thread_restrictions.h
+++ b/base/threading/thread_restrictions.h
@@ -83,7 +83,6 @@ class WindowResizeHelperMac;
}
namespace views {
-class ClipboardMus;
class ScreenMus;
}
@@ -238,10 +237,6 @@ class BASE_EXPORT ThreadRestrictions {
#if !defined(OFFICIAL_BUILD)
friend class content::SoftwareOutputDeviceMus; // Interim non-production code
#endif
- // In the non-mus case, we called blocking OS functions in the ui::Clipboard
- // implementation which weren't caught by threading restrictions. Our
- // blocking calls to mus, however, are.
- friend class views::ClipboardMus;
friend class views::ScreenMus;
// END USAGE THAT NEEDS TO BE FIXED.
« no previous file with comments | « no previous file | mojo/public/cpp/bindings/sync_call_restrictions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698