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

Unified Diff: third_party/mojo/src/mojo/edk/embedder/process_delegate.h

Issue 954643002: Update mojo sdk to rev 3d23dae011859a2aae49f1d1adde705c8e85d819 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use run_renderer_in_process() Created 5 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
Index: third_party/mojo/src/mojo/edk/embedder/process_delegate.h
diff --git a/third_party/mojo/src/mojo/edk/embedder/process_delegate.h b/third_party/mojo/src/mojo/edk/embedder/process_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..325c5320cd504d7fe6b8750cd3b413741f79a723
--- /dev/null
+++ b/third_party/mojo/src/mojo/edk/embedder/process_delegate.h
@@ -0,0 +1,39 @@
+// 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 MOJO_EDK_EMBEDDER_PROCESS_DELEGATE_H_
+#define MOJO_EDK_EMBEDDER_PROCESS_DELEGATE_H_
+
+#include "base/macros.h"
+#include "mojo/edk/embedder/process_type.h"
+#include "mojo/edk/system/system_impl_export.h"
+
+namespace mojo {
+namespace embedder {
+
+// An interface for process delegates.
+class MOJO_SYSTEM_IMPL_EXPORT ProcessDelegate {
+ public:
+ virtual ProcessType GetType() const;
+
+ // Called when |ShutdownIPCSupport()| has "completed". Note that this is NOT
+ // called if |ShutdownIPCSupportOnIOThread()| is used instead.
+ virtual void OnShutdownComplete() = 0;
+
+ protected:
+ ProcessDelegate() {}
+ virtual ~ProcessDelegate() {}
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ProcessDelegate);
+};
+
+inline ProcessType ProcessDelegate::GetType() const {
+ return ProcessType::NONE;
+}
+
+} // namespace embedder
+} // namespace mojo
+
+#endif // MOJO_EDK_EMBEDDER_PROCESS_DELEGATE_H_
« no previous file with comments | « third_party/mojo/src/mojo/edk/embedder/platform_support.h ('k') | third_party/mojo/src/mojo/edk/embedder/process_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698