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

Unified Diff: content/gpu/gpu_process_control_impl.h

Issue 1297953004: Support mojo applications in GPU process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase only Created 5 years, 2 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/gpu/gpu_child_thread.cc ('k') | content/gpu/gpu_process_control_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_process_control_impl.h
diff --git a/content/gpu/gpu_process_control_impl.h b/content/gpu/gpu_process_control_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..4353096a6fc3a5ea4940c3437f87bdb26ed23aa1
--- /dev/null
+++ b/content/gpu/gpu_process_control_impl.h
@@ -0,0 +1,28 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_GPU_GPU_PROCESS_CONTROL_IMPL_H_
+#define CONTENT_GPU_GPU_PROCESS_CONTROL_IMPL_H_
+
+#include "base/macros.h"
+#include "content/child/process_control_impl.h"
+
+namespace content {
+
+// Customization of ProcessControlImpl for the GPU process.
+class GpuProcessControlImpl : public ProcessControlImpl {
+ public:
+ GpuProcessControlImpl();
+ ~GpuProcessControlImpl() override;
+
+ // ProcessControlImpl:
+ void RegisterApplicationLoaders(URLToLoaderMap* url_to_loader_map) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(GpuProcessControlImpl);
+};
+
+} // namespace content
+
+#endif // CONTENT_GPU_GPU_PROCESS_CONTROL_IMPL_H_
« no previous file with comments | « content/gpu/gpu_child_thread.cc ('k') | content/gpu/gpu_process_control_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698