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

Side by Side Diff: content/shell/shell_main_delegate.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 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_SHELL_SHELL_MAIN_DELEGATE_H_ 5 #ifndef CONTENT_SHELL_SHELL_MAIN_DELEGATE_H_
6 #define CONTENT_SHELL_SHELL_MAIN_DELEGATE_H_ 6 #define CONTENT_SHELL_SHELL_MAIN_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 19 matching lines...) Expand all
30 const std::string& process_type, 30 const std::string& process_type,
31 const MainFunctionParams& main_function_params) OVERRIDE; 31 const MainFunctionParams& main_function_params) OVERRIDE;
32 virtual void ProcessExiting(const std::string& process_type) OVERRIDE; 32 virtual void ProcessExiting(const std::string& process_type) OVERRIDE;
33 #if defined(OS_MACOSX) 33 #if defined(OS_MACOSX)
34 virtual bool ProcessRegistersWithSystemProcess( 34 virtual bool ProcessRegistersWithSystemProcess(
35 const std::string& process_type) OVERRIDE; 35 const std::string& process_type) OVERRIDE;
36 virtual bool ShouldSendMachPort(const std::string& process_type) OVERRIDE; 36 virtual bool ShouldSendMachPort(const std::string& process_type) OVERRIDE;
37 virtual bool DelaySandboxInitialization( 37 virtual bool DelaySandboxInitialization(
38 const std::string& process_type) OVERRIDE; 38 const std::string& process_type) OVERRIDE;
39 #elif defined(OS_POSIX) 39 #elif defined(OS_POSIX)
40 virtual ZygoteForkDelegate* ZygoteStarting() OVERRIDE; 40 virtual content::ZygoteForkDelegate* ZygoteStarting() OVERRIDE;
41 virtual void ZygoteForked() OVERRIDE; 41 virtual void ZygoteForked() OVERRIDE;
42 #endif // OS_MACOSX 42 #endif // OS_MACOSX
43 43
44 private: 44 private:
45 void InitializeShellContentClient(const std::string& process_type); 45 void InitializeShellContentClient(const std::string& process_type);
46 46
47 scoped_ptr<content::ShellContentBrowserClient> browser_client_; 47 scoped_ptr<content::ShellContentBrowserClient> browser_client_;
48 scoped_ptr<content::ShellContentRendererClient> renderer_client_; 48 scoped_ptr<content::ShellContentRendererClient> renderer_client_;
49 scoped_ptr<content::ShellContentPluginClient> plugin_client_; 49 scoped_ptr<content::ShellContentPluginClient> plugin_client_;
50 scoped_ptr<content::ShellContentUtilityClient> utility_client_; 50 scoped_ptr<content::ShellContentUtilityClient> utility_client_;
51 content::ShellContentClient content_client_; 51 content::ShellContentClient content_client_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(ShellMainDelegate); 53 DISALLOW_COPY_AND_ASSIGN(ShellMainDelegate);
54 }; 54 };
55 55
56 #endif // CONTENT_SHELL_SHELL_MAIN_DELEGATE_H_ 56 #endif // CONTENT_SHELL_SHELL_MAIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/public/common/zygote_fork_delegate_linux.h ('k') | content/shell/shell_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698