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

Unified Diff: content/app/content_main_delegate.cc

Issue 7857019: Basic scaffolding for a "content shell", i.e. test browser over the content module. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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/app/content_main_delegate.h ('k') | content/browser/browser_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/content_main_delegate.cc
===================================================================
--- content/app/content_main_delegate.cc (revision 0)
+++ content/app/content_main_delegate.cc (revision 0)
@@ -0,0 +1,56 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/app/content_main_delegate.h"
+
+#include "base/logging.h"
+
+namespace content {
+
+ContentMainDelegate::~ContentMainDelegate() {
+}
+
+bool ContentMainDelegate::BasicStartupComplete(int* exit_code) {
+ return false;
+}
+
+void ContentMainDelegate::PreSandboxStartup() {
+}
+
+void ContentMainDelegate::SandboxInitialized(const std::string& process_type) {
+}
+
+int ContentMainDelegate::RunProcess(const std::string& process_type,
+ const MainFunctionParams& main_function_params) {
+ NOTREACHED();
+ return -1;
+}
+
+void ContentMainDelegate::ProcessExiting(const std::string& process_type) {
+}
+
+#if defined(OS_MACOSX)
+bool ContentMainDelegate::ProcessRegistersWithSystemProcess(
+ const std::string& process_type) {
+ return false;
+}
+
+bool ContentMainDelegate::ShouldSendMachPort(const std::string& process_type) {
+ return false;
+}
+
+bool ContentMainDelegate::DelaySandboxInitialization(
+ const std::string& process_type) {
+ return false;
+}
+#elif defined(OS_POSIX)
+ZygoteForkDelegate* ContentMainDelegate::ZygoteStarting() {
+ return NULL;
+}
+
+void ContentMainDelegate::ZygoteForked() {
+}
+#endif // OS_MACOSX
+
+} // namespace content
Property changes on: content\app\content_main_delegate.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « content/app/content_main_delegate.h ('k') | content/browser/browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698