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

Side by Side Diff: mojo/edk/embedder/platform_channel_pair.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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PLATFORM_CHANNEL_PAIR_H_ 5 #ifndef MOJO_EDK_EMBEDDER_PLATFORM_CHANNEL_PAIR_H_
6 #define MOJO_EDK_EMBEDDER_PLATFORM_CHANNEL_PAIR_H_ 6 #define MOJO_EDK_EMBEDDER_PLATFORM_CHANNEL_PAIR_H_
7 7
8 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "base/process/launch.h" 10 #include "base/process/launch.h"
10 #include "build/build_config.h" 11 #include "build/build_config.h"
11 #include "mojo/edk/embedder/scoped_platform_handle.h" 12 #include "mojo/edk/embedder/scoped_platform_handle.h"
12 #include "mojo/edk/system/system_impl_export.h" 13 #include "mojo/edk/system/system_impl_export.h"
13 #include "mojo/public/cpp/system/macros.h" 14 #include "mojo/public/cpp/system/macros.h"
14 15
15 namespace base { 16 namespace base {
16 class CommandLine; 17 class CommandLine;
17 } 18 }
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 HandlePassingInformation* handle_passing_info) const; 89 HandlePassingInformation* handle_passing_info) const;
89 90
90 // To be called once the child process has been successfully launched, to do 91 // To be called once the child process has been successfully launched, to do
91 // any cleanup necessary. 92 // any cleanup necessary.
92 void ChildProcessLaunched(); 93 void ChildProcessLaunched();
93 94
94 private: 95 private:
95 ScopedPlatformHandle server_handle_; 96 ScopedPlatformHandle server_handle_;
96 ScopedPlatformHandle client_handle_; 97 ScopedPlatformHandle client_handle_;
97 98
98 MOJO_DISALLOW_COPY_AND_ASSIGN(PlatformChannelPair); 99 DISALLOW_COPY_AND_ASSIGN(PlatformChannelPair);
99 }; 100 };
100 101
101 } // namespace edk 102 } // namespace edk
102 } // namespace mojo 103 } // namespace mojo
103 104
104 #endif // MOJO_EDK_EMBEDDER_PLATFORM_CHANNEL_PAIR_H_ 105 #endif // MOJO_EDK_EMBEDDER_PLATFORM_CHANNEL_PAIR_H_
OLDNEW
« no previous file with comments | « components/resource_provider/resource_provider_apptest.cc ('k') | mojo/edk/embedder/platform_channel_pair_posix_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698