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

Side by Side Diff: chrome/app/chrome_main_delegate.h

Issue 8387039: Move content_restriction.h and main_function_params.h to content/public/common, and put them in t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | chrome/app/chrome_main_delegate.cc » ('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 CHROME_APP_CHROME_MAIN_DELEGATE_H_ 5 #ifndef CHROME_APP_CHROME_MAIN_DELEGATE_H_
6 #define CHROME_APP_CHROME_MAIN_DELEGATE_H_ 6 #define CHROME_APP_CHROME_MAIN_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/metrics/stats_counters.h" 10 #include "base/metrics/stats_counters.h"
(...skipping 10 matching lines...) Expand all
21 21
22 #if defined(OS_MACOSX) 22 #if defined(OS_MACOSX)
23 void InitMacCrashReporter(const CommandLine& command_line, 23 void InitMacCrashReporter(const CommandLine& command_line,
24 const std::string& process_type); 24 const std::string& process_type);
25 #endif // defined(OS_MACOSX) 25 #endif // defined(OS_MACOSX)
26 26
27 virtual void PreSandboxStartup() OVERRIDE; 27 virtual void PreSandboxStartup() OVERRIDE;
28 virtual void SandboxInitialized(const std::string& process_type) OVERRIDE; 28 virtual void SandboxInitialized(const std::string& process_type) OVERRIDE;
29 virtual int RunProcess( 29 virtual int RunProcess(
30 const std::string& process_type, 30 const std::string& process_type,
31 const MainFunctionParams& main_function_params) OVERRIDE; 31 const content::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 33
34 #if defined(OS_MACOSX) 34 #if defined(OS_MACOSX)
35 virtual bool ProcessRegistersWithSystemProcess( 35 virtual bool ProcessRegistersWithSystemProcess(
36 const std::string& process_type) OVERRIDE; 36 const std::string& process_type) OVERRIDE;
37 virtual bool ShouldSendMachPort(const std::string& process_type) OVERRIDE; 37 virtual bool ShouldSendMachPort(const std::string& process_type) OVERRIDE;
38 virtual bool DelaySandboxInitialization( 38 virtual bool DelaySandboxInitialization(
39 const std::string& process_type) OVERRIDE; 39 const std::string& process_type) OVERRIDE;
40 #elif defined(OS_POSIX) 40 #elif defined(OS_POSIX)
41 virtual content::ZygoteForkDelegate* ZygoteStarting() OVERRIDE; 41 virtual content::ZygoteForkDelegate* ZygoteStarting() OVERRIDE;
42 virtual void ZygoteForked() OVERRIDE; 42 virtual void ZygoteForked() OVERRIDE;
43 #endif 43 #endif
44 44
45 private: 45 private:
46 chrome::ChromeContentClient chrome_content_client_; 46 chrome::ChromeContentClient chrome_content_client_;
47 scoped_ptr<base::StatsScope<base::StatsCounterTimer> > startup_timer_; 47 scoped_ptr<base::StatsScope<base::StatsCounterTimer> > startup_timer_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegate); 49 DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegate);
50 }; 50 };
51 51
52 #endif // CHROME_APP_CHROME_MAIN_DELEGATE_H_ 52 #endif // CHROME_APP_CHROME_MAIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/app/chrome_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698