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

Unified Diff: ui/views/mus/mus_client.h

Issue 2548423002: Hosting the discardable memory service in the mus process (Closed)
Patch Set: Rebase Created 4 years 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 | « ui/views/mus/DEPS ('k') | ui/views/mus/mus_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/mus_client.h
diff --git a/ui/views/mus/mus_client.h b/ui/views/mus/mus_client.h
index ebb84df3e76eed24b0b1601cf7e1802cdf0fb514..34b2c33d1382698f2d4b398c2465dffeda0feb01 100644
--- a/ui/views/mus/mus_client.h
+++ b/ui/views/mus/mus_client.h
@@ -27,6 +27,11 @@ class WindowTreeClient;
namespace base {
class SingleThreadTaskRunner;
+class Thread;
+}
+
+namespace discardable_memory {
+class ClientDiscardableSharedMemoryManager;
}
namespace service_manager {
@@ -132,6 +137,8 @@ class VIEWS_MUS_EXPORT MusClient
service_manager::Identity identity_;
+ std::unique_ptr<base::Thread> io_thread_;
+
base::ObserverList<MusClientObserver> observer_list_;
// NOTE: this may be null (creation is based on argument supplied to
@@ -150,6 +157,9 @@ class VIEWS_MUS_EXPORT MusClient
std::unique_ptr<aura::MusContextFactory> compositor_context_factory_;
+ std::unique_ptr<discardable_memory::ClientDiscardableSharedMemoryManager>
+ discardable_shared_memory_manager_;
+
DISALLOW_COPY_AND_ASSIGN(MusClient);
};
« no previous file with comments | « ui/views/mus/DEPS ('k') | ui/views/mus/mus_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698