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

Unified Diff: content/public/common/zygote_fork_delegate_linux.h

Issue 8381029: Move ZygoteForkDelegateLinux to content/public/app. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/app/content_main_delegate.h ('k') | content/shell/shell_main_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/zygote_fork_delegate_linux.h
===================================================================
--- content/public/common/zygote_fork_delegate_linux.h (revision 107023)
+++ content/public/common/zygote_fork_delegate_linux.h (working copy)
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_COMMON_ZYGOTE_FORK_DELEGATE_LINUX_H_
-#define CONTENT_COMMON_ZYGOTE_FORK_DELEGATE_LINUX_H_
+#ifndef CONTENT_PUBLIC_COMMON_ZYGOTE_FORK_DELEGATE_LINUX_H_
+#define CONTENT_PUBLIC_COMMON_ZYGOTE_FORK_DELEGATE_LINUX_H_
#pragma once
#include <unistd.h>
@@ -11,7 +11,7 @@
#include <string>
#include <vector>
-#include "base/basictypes.h"
+namespace content {
// The ZygoteForkDelegate allows the Chrome Linux zygote to delegate
// fork operations to another class that knows how to do some
@@ -22,7 +22,6 @@
// initialization, and provides "fork()" functionality as an
// alternative to forking the zygote. A new delegate is passed in
// as an argument to ZygoteMain().
- ZygoteForkDelegate() {}
virtual ~ZygoteForkDelegate() {}
// Initialization happens in the zygote after it has been
@@ -54,4 +53,7 @@
// channel switch as a part of acknowledgement message.
virtual bool AckChild(int fd, const std::string& channel_switch) = 0;
};
-#endif // CONTENT_COMMON_ZYGOTE_FORK_DELEGATE_LINUX_H_
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_ZYGOTE_FORK_DELEGATE_LINUX_H_
« no previous file with comments | « content/public/app/content_main_delegate.h ('k') | content/shell/shell_main_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698