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

Side by Side Diff: content/app/content_main_delegate.cc

Issue 8356025: Move ContentMainDelegate to content/public/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/app/content_main_delegate.h ('k') | content/content_app.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "content/app/content_main_delegate.h"
6
7 #include "base/logging.h"
8
9 namespace content {
10
11 ContentMainDelegate::~ContentMainDelegate() {
12 }
13
14 bool ContentMainDelegate::BasicStartupComplete(int* exit_code) {
15 return false;
16 }
17
18 void ContentMainDelegate::PreSandboxStartup() {
19 }
20
21 void ContentMainDelegate::SandboxInitialized(const std::string& process_type) {
22 }
23
24 int ContentMainDelegate::RunProcess(const std::string& process_type,
25 const MainFunctionParams& main_function_params) {
26 NOTREACHED();
27 return -1;
28 }
29
30 void ContentMainDelegate::ProcessExiting(const std::string& process_type) {
31 }
32
33 #if defined(OS_MACOSX)
34 bool ContentMainDelegate::ProcessRegistersWithSystemProcess(
35 const std::string& process_type) {
36 return false;
37 }
38
39 bool ContentMainDelegate::ShouldSendMachPort(const std::string& process_type) {
40 return false;
41 }
42
43 bool ContentMainDelegate::DelaySandboxInitialization(
44 const std::string& process_type) {
45 return false;
46 }
47 #elif defined(OS_POSIX)
48 ZygoteForkDelegate* ContentMainDelegate::ZygoteStarting() {
49 return NULL;
50 }
51
52 void ContentMainDelegate::ZygoteForked() {
53 }
54 #endif // OS_MACOSX
55
56 } // namespace content
OLDNEW
« no previous file with comments | « content/app/content_main_delegate.h ('k') | content/content_app.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698