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

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

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more cleanup 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
Index: mojo/edk/embedder/process_delegate.h
diff --git a/third_party/mojo/src/mojo/edk/embedder/process_delegate.h b/mojo/edk/embedder/process_delegate.h
similarity index 56%
copy from third_party/mojo/src/mojo/edk/embedder/process_delegate.h
copy to mojo/edk/embedder/process_delegate.h
index e00591ff87f96bfab27d4c3b09316b5d09b76454..e5f90af0196833b7a488e26ddf4f3d701b96435e 100644
--- a/third_party/mojo/src/mojo/edk/embedder/process_delegate.h
+++ b/mojo/edk/embedder/process_delegate.h
@@ -2,21 +2,18 @@
// 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_PROCESS_DELEGATE_H_
-#define THIRD_PARTY_MOJO_SRC_MOJO_EDK_EMBEDDER_PROCESS_DELEGATE_H_
+#ifndef MOJO_EDK_EMBEDDER_PROCESS_DELEGATE_H_
+#define MOJO_EDK_EMBEDDER_PROCESS_DELEGATE_H_
+#include "mojo/edk/system/system_impl_export.h"
#include "mojo/public/cpp/system/macros.h"
-#include "third_party/mojo/src/mojo/edk/embedder/process_type.h"
-#include "third_party/mojo/src/mojo/edk/system/system_impl_export.h"
namespace mojo {
-namespace embedder {
+namespace edk {
// 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;
@@ -29,11 +26,7 @@ class MOJO_SYSTEM_IMPL_EXPORT ProcessDelegate {
MOJO_DISALLOW_COPY_AND_ASSIGN(ProcessDelegate);
};
-inline ProcessType ProcessDelegate::GetType() const {
- return ProcessType::NONE;
-}
-
-} // namespace embedder
+} // namespace edk
} // namespace mojo
-#endif // THIRD_PARTY_MOJO_SRC_MOJO_EDK_EMBEDDER_PROCESS_DELEGATE_H_
+#endif // MOJO_EDK_EMBEDDER_PROCESS_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698