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

Side by Side Diff: ppapi/proxy/serialized_handle.cc

Issue 19284015: Use a direct include of the shared_memory header in media/, ppapi/, webkit/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/serialized_handle.h ('k') | ppapi/proxy/serialized_structs.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "ppapi/proxy/serialized_handle.h" 5 #include "ppapi/proxy/serialized_handle.h"
6 6
7 #include "base/memory/shared_memory.h"
7 #include "base/pickle.h" 8 #include "base/pickle.h"
8 #include "base/platform_file.h" 9 #include "base/platform_file.h"
9 #include "base/shared_memory.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "ipc/ipc_platform_file.h" 11 #include "ipc/ipc_platform_file.h"
12 12
13 #if defined(OS_NACL) 13 #if defined(OS_NACL)
14 #include <unistd.h> 14 #include <unistd.h>
15 #endif 15 #endif
16 16
17 namespace ppapi { 17 namespace ppapi {
18 namespace proxy { 18 namespace proxy {
19 19
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 break; 134 break;
135 // No default so the compiler will warn us if a new type is added. 135 // No default so the compiler will warn us if a new type is added.
136 } 136 }
137 if (valid_type) 137 if (valid_type)
138 hdr->type = Type(type); 138 hdr->type = Type(type);
139 return valid_type; 139 return valid_type;
140 } 140 }
141 141
142 } // namespace proxy 142 } // namespace proxy
143 } // namespace ppapi 143 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/serialized_handle.h ('k') | ppapi/proxy/serialized_structs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698