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

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

Issue 1676913002: [mojo] Delete third_party/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: let's try that again Created 4 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/master_process_delegate.h
diff --git a/third_party/mojo/src/mojo/edk/embedder/master_process_delegate.h b/third_party/mojo/src/mojo/edk/embedder/master_process_delegate.h
deleted file mode 100644
index beb59c868a27a345292190c13c0925cc3f649dc6..0000000000000000000000000000000000000000
--- a/third_party/mojo/src/mojo/edk/embedder/master_process_delegate.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// 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 THIRD_PARTY_MOJO_SRC_MOJO_EDK_EMBEDDER_MASTER_PROCESS_DELEGATE_H_
-#define THIRD_PARTY_MOJO_SRC_MOJO_EDK_EMBEDDER_MASTER_PROCESS_DELEGATE_H_
-
-#include "mojo/public/cpp/system/macros.h"
-#include "third_party/mojo/src/mojo/edk/embedder/process_delegate.h"
-#include "third_party/mojo/src/mojo/edk/embedder/slave_info.h"
-#include "third_party/mojo/src/mojo/edk/system/system_impl_export.h"
-
-namespace mojo {
-namespace embedder {
-
-// An interface for the master process delegate (which lives in the master
-// process).
-class MOJO_SYSTEM_IMPL_EXPORT MasterProcessDelegate : public ProcessDelegate {
- public:
- ProcessType GetType() const override;
-
- // Called when contact with the slave process specified by |slave_info| has
- // been lost.
- // TODO(vtl): Obviously, there needs to be a suitable embedder API for
- // connecting to a process. What will it be? Mention that here once it exists.
- virtual void OnSlaveDisconnect(SlaveInfo slave_info) = 0;
-
- protected:
- MasterProcessDelegate() {}
- ~MasterProcessDelegate() override {}
-
- private:
- MOJO_DISALLOW_COPY_AND_ASSIGN(MasterProcessDelegate);
-};
-
-inline ProcessType MasterProcessDelegate::GetType() const {
- return ProcessType::MASTER;
-}
-
-} // namespace embedder
-} // namespace mojo
-
-#endif // THIRD_PARTY_MOJO_SRC_MOJO_EDK_EMBEDDER_MASTER_PROCESS_DELEGATE_H_
« no previous file with comments | « third_party/mojo/src/mojo/edk/embedder/entrypoints.cc ('k') | third_party/mojo/src/mojo/edk/embedder/platform_channel_pair.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698