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

Side by Side Diff: content/shell/shell_main_delegate.h

Issue 8137012: Make an empty content browser test work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' 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
Property Changes:
Added: svn:eol-style
+ LF
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 #ifndef CONTENT_SHELL_SHELL_MAIN_DELEGATE_H_
6 #define CONTENT_SHELL_SHELL_MAIN_DELEGATE_H_
7 #pragma once
8
9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "content/app/content_main_delegate.h"
12 #include "content/shell/shell_content_client.h"
13
14 namespace content {
15 class ShellContentBrowserClient;
16 class ShellContentRendererClient;
17 class ShellContentPluginClient;
18 class ShellContentUtilityClient;
19 } // namespace content
20
21 class ShellMainDelegate : public content::ContentMainDelegate {
22 public:
23 ShellMainDelegate();
24 virtual ~ShellMainDelegate();
25
26 virtual void PreSandboxStartup() OVERRIDE;
27
28 #if defined(OS_POSIX) && !defined(OS_MACOSX)
29 virtual void ZygoteForked() OVERRIDE;
30 #endif
31
32 private:
33 void InitializeShellContentClient(const std::string& process_type);
34
35 scoped_ptr<content::ShellContentBrowserClient> browser_client_;
36 scoped_ptr<content::ShellContentRendererClient> renderer_client_;
37 scoped_ptr<content::ShellContentPluginClient> plugin_client_;
38 scoped_ptr<content::ShellContentUtilityClient> utility_client_;
39 content::ShellContentClient content_client_;
40
41 DISALLOW_COPY_AND_ASSIGN(ShellMainDelegate);
42 };
43
44 #endif // CONTENT_SHELL_SHELL_MAIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698