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

Side by Side Diff: content/common/unix_domain_socket_posix.h

Issue 6677096: Move a bunch of files from chrome\common to content\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « content/common/mru_cache_unittest.cc ('k') | content/common/unix_domain_socket_posix.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_COMMON_UNIX_DOMAIN_SOCKET_POSIX_H_ 5 #ifndef CONTENT_COMMON_UNIX_DOMAIN_SOCKET_POSIX_H_
6 #define CHROME_COMMON_UNIX_DOMAIN_SOCKET_POSIX_H_ 6 #define CONTENT_COMMON_UNIX_DOMAIN_SOCKET_POSIX_H_
7 #pragma once 7 #pragma once
8 8
9 #include <stdint.h> 9 #include <stdint.h>
10 #include <sys/types.h> 10 #include <sys/types.h>
11 #include <vector> 11 #include <vector>
12 12
13 class Pickle; 13 class Pickle;
14 14
15 class UnixDomainSocket { 15 class UnixDomainSocket {
16 public: 16 public:
(...skipping 27 matching lines...) Expand all
44 // result_fd: (may be NULL) the file descriptor returned in the reply 44 // result_fd: (may be NULL) the file descriptor returned in the reply
45 // (if any) 45 // (if any)
46 // request: the bytes to send in the request 46 // request: the bytes to send in the request
47 static ssize_t SendRecvMsg(int fd, 47 static ssize_t SendRecvMsg(int fd,
48 uint8_t* reply, 48 uint8_t* reply,
49 unsigned reply_len, 49 unsigned reply_len,
50 int* result_fd, 50 int* result_fd,
51 const Pickle& request); 51 const Pickle& request);
52 }; 52 };
53 53
54 #endif // CHROME_COMMON_UNIX_DOMAIN_SOCKET_POSIX_H_ 54 #endif // CONTENT_COMMON_UNIX_DOMAIN_SOCKET_POSIX_H_
OLDNEW
« no previous file with comments | « content/common/mru_cache_unittest.cc ('k') | content/common/unix_domain_socket_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698