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

Side by Side Diff: mojo/edk/embedder/process_delegate.h

Issue 1755003002: Remove MOJO_DISALLOW_COPY_AND_ASSIGN and MOJO_ALLOW_UNUSED_LOCAL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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
« no previous file with comments | « mojo/edk/embedder/platform_shared_buffer.h ('k') | mojo/edk/system/async_waiter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_EDK_EMBEDDER_PROCESS_DELEGATE_H_ 5 #ifndef MOJO_EDK_EMBEDDER_PROCESS_DELEGATE_H_
6 #define MOJO_EDK_EMBEDDER_PROCESS_DELEGATE_H_ 6 #define MOJO_EDK_EMBEDDER_PROCESS_DELEGATE_H_
7 7
8 #include "base/macros.h"
8 #include "mojo/edk/system/system_impl_export.h" 9 #include "mojo/edk/system/system_impl_export.h"
9 #include "mojo/public/cpp/system/macros.h"
10 10
11 namespace mojo { 11 namespace mojo {
12 namespace edk { 12 namespace edk {
13 13
14 // An interface for process delegates. 14 // An interface for process delegates.
15 class MOJO_SYSTEM_IMPL_EXPORT ProcessDelegate { 15 class MOJO_SYSTEM_IMPL_EXPORT ProcessDelegate {
16 public: 16 public:
17 // Called when |ShutdownIPCSupport()| has completed work on the I/O thread. 17 // Called when |ShutdownIPCSupport()| has completed work on the I/O thread.
18 virtual void OnShutdownComplete() = 0; 18 virtual void OnShutdownComplete() = 0;
19 19
20 protected: 20 protected:
21 ProcessDelegate() {} 21 ProcessDelegate() {}
22 virtual ~ProcessDelegate() {} 22 virtual ~ProcessDelegate() {}
23 23
24 private: 24 private:
25 MOJO_DISALLOW_COPY_AND_ASSIGN(ProcessDelegate); 25 DISALLOW_COPY_AND_ASSIGN(ProcessDelegate);
26 }; 26 };
27 27
28 } // namespace edk 28 } // namespace edk
29 } // namespace mojo 29 } // namespace mojo
30 30
31 #endif // MOJO_EDK_EMBEDDER_PROCESS_DELEGATE_H_ 31 #endif // MOJO_EDK_EMBEDDER_PROCESS_DELEGATE_H_
OLDNEW
« no previous file with comments | « mojo/edk/embedder/platform_shared_buffer.h ('k') | mojo/edk/system/async_waiter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698