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

Side by Side 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, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MOJO_EDK_EMBEDDER_PROCESS_DELEGATE_H_
6 #define MOJO_EDK_EMBEDDER_PROCESS_DELEGATE_H_
7
8 #include "base/macros.h"
9 #include "mojo/edk/embedder/process_type.h"
10 #include "mojo/edk/system/system_impl_export.h"
11
12 namespace mojo {
13 namespace embedder {
14
15 // An interface for process delegates.
16 class MOJO_SYSTEM_IMPL_EXPORT ProcessDelegate {
17 public:
18 virtual ProcessType GetType() const;
19
20 // Called when |ShutdownIPCSupport()| has "completed". Note that this is NOT
21 // called if |ShutdownIPCSupportOnIOThread()| is used instead.
22 virtual void OnShutdownComplete() = 0;
23
24 protected:
25 ProcessDelegate() {}
26 virtual ~ProcessDelegate() {}
27
28 private:
29 DISALLOW_COPY_AND_ASSIGN(ProcessDelegate);
30 };
31
32 inline ProcessType ProcessDelegate::GetType() const {
33 return ProcessType::NONE;
34 }
35
36 } // namespace embedder
37 } // namespace mojo
38
39 #endif // MOJO_EDK_EMBEDDER_PROCESS_DELEGATE_H_
OLDNEW
« 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