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

Side by Side Diff: content/public/common/zygote_fork_delegate_linux.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_PUBLIC_COMMON_ZYGOTE_FORK_DELEGATE_LINUX_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_ZYGOTE_FORK_DELEGATE_LINUX_H_
6 #define CONTENT_PUBLIC_COMMON_ZYGOTE_FORK_DELEGATE_LINUX_H_ 6 #define CONTENT_PUBLIC_COMMON_ZYGOTE_FORK_DELEGATE_LINUX_H_
7 #pragma once
8 7
9 #include <unistd.h> 8 #include <unistd.h>
10 9
11 #include <string> 10 #include <string>
12 #include <vector> 11 #include <vector>
13 12
14 namespace content { 13 namespace content {
15 14
16 // The ZygoteForkDelegate allows the Chrome Linux zygote to delegate 15 // The ZygoteForkDelegate allows the Chrome Linux zygote to delegate
17 // fork operations to another class that knows how to do some 16 // fork operations to another class that knows how to do some
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 49
51 // After a successful for, signal the child to indicate that 50 // After a successful for, signal the child to indicate that
52 // the child's PID has been received. Also communicate the 51 // the child's PID has been received. Also communicate the
53 // channel switch as a part of acknowledgement message. 52 // channel switch as a part of acknowledgement message.
54 virtual bool AckChild(int fd, const std::string& channel_switch) = 0; 53 virtual bool AckChild(int fd, const std::string& channel_switch) = 0;
55 }; 54 };
56 55
57 } // namespace content 56 } // namespace content
58 57
59 #endif // CONTENT_PUBLIC_COMMON_ZYGOTE_FORK_DELEGATE_LINUX_H_ 58 #endif // CONTENT_PUBLIC_COMMON_ZYGOTE_FORK_DELEGATE_LINUX_H_
OLDNEW
« no previous file with comments | « content/public/common/window_container_type.h ('k') | content/public/plugin/content_plugin_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698