OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "mojo/embedder/platform_handle_vector.h" | |
6 | |
7 namespace mojo { | |
8 namespace embedder { | |
9 | |
10 void CloseAllHandles(PlatformHandleVector* platform_handles) { | |
11 for (PlatformHandleVector::iterator it = platform_handles->begin(); | |
12 it != platform_handles->end(); | |
13 ++it) | |
14 it->CloseIfNecessary(); | |
15 } | |
16 | |
17 } // namespace embedder | |
18 } // namespace mojo | |
OLD | NEW |