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

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

Issue 7885041: Export more symbols needed for the component build of content. (Closed) Base URL: svn://svn.chromium.org/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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/browser_main.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_APP_CONTENT_MAIN_DELEGATE_H_ 5 #ifndef CONTENT_APP_CONTENT_MAIN_DELEGATE_H_
6 #define CONTENT_APP_CONTENT_MAIN_DELEGATE_H_ 6 #define CONTENT_APP_CONTENT_MAIN_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "content/common/content_export.h"
12 13
13 struct MainFunctionParams; 14 struct MainFunctionParams;
14 class ZygoteForkDelegate; 15 class ZygoteForkDelegate;
15 16
16 namespace content { 17 namespace content {
17 18
18 class ContentMainDelegate { 19 class CONTENT_EXPORT ContentMainDelegate {
19 public: 20 public:
20 virtual ~ContentMainDelegate(); 21 virtual ~ContentMainDelegate();
21 22
22 // Tells the embedder that the absolute basic startup has been done, i.e. it's 23 // Tells the embedder that the absolute basic startup has been done, i.e. it's
23 // now safe to create singletons and check the command line. Return true if 24 // now safe to create singletons and check the command line. Return true if
24 // the process should exit afterwards, and if so, |exit_code| should be set. 25 // the process should exit afterwards, and if so, |exit_code| should be set.
25 // This is the place for embedder to do the things that must happen at the 26 // This is the place for embedder to do the things that must happen at the
26 // start. Most of its startup code should be in the methods below. 27 // start. Most of its startup code should be in the methods below.
27 virtual bool BasicStartupComplete(int* exit_code); 28 virtual bool BasicStartupComplete(int* exit_code);
28 29
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 virtual ZygoteForkDelegate* ZygoteStarting(); 65 virtual ZygoteForkDelegate* ZygoteStarting();
65 66
66 // Called every time the zygote process forks. 67 // Called every time the zygote process forks.
67 virtual void ZygoteForked(); 68 virtual void ZygoteForked();
68 #endif // OS_MACOSX 69 #endif // OS_MACOSX
69 }; 70 };
70 71
71 } // namespace content 72 } // namespace content
72 73
73 #endif // CONTENT_APP_CONTENT_MAIN_DELEGATE_H_ 74 #endif // CONTENT_APP_CONTENT_MAIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/browser_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698