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

Side by Side Diff: mojo/edk/embedder/platform_handle.cc

Issue 621153003: Move mojo edk into mojo/edk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix checkdeps Created 6 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 unified diff | Download patch
« no previous file with comments | « mojo/edk/embedder/platform_handle.h ('k') | mojo/edk/embedder/platform_handle_utils.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "mojo/embedder/platform_handle.h" 5 #include "mojo/edk/embedder/platform_handle.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #if defined(OS_POSIX) 8 #if defined(OS_POSIX)
9 #include <unistd.h> 9 #include <unistd.h>
10 #elif defined(OS_WIN) 10 #elif defined(OS_WIN)
11 #include <windows.h> 11 #include <windows.h>
12 #else 12 #else
13 #error "Platform not yet supported." 13 #error "Platform not yet supported."
14 #endif 14 #endif
15 15
(...skipping 15 matching lines...) Expand all
31 bool success = !!CloseHandle(handle); 31 bool success = !!CloseHandle(handle);
32 DPCHECK(success); 32 DPCHECK(success);
33 handle = INVALID_HANDLE_VALUE; 33 handle = INVALID_HANDLE_VALUE;
34 #else 34 #else
35 #error "Platform not yet supported." 35 #error "Platform not yet supported."
36 #endif 36 #endif
37 } 37 }
38 38
39 } // namespace embedder 39 } // namespace embedder
40 } // namespace mojo 40 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/embedder/platform_handle.h ('k') | mojo/edk/embedder/platform_handle_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698