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

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

Issue 999883002: Profiler-instrumentation of the startup time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 5 years, 9 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
« no previous file with comments | « no previous file | chrome/app/chrome_main_delegate.cc » ('j') | chrome/app/chrome_main_delegate.cc » ('J')
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 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/common/chrome_content_client.h" 9 #include "chrome/common/chrome_content_client.h"
10 #include "content/public/app/content_main_delegate.h" 10 #include "content/public/app/content_main_delegate.h"
(...skipping 24 matching lines...) Expand all
35 bool ProcessRegistersWithSystemProcess( 35 bool ProcessRegistersWithSystemProcess(
36 const std::string& process_type) override; 36 const std::string& process_type) override;
37 bool ShouldSendMachPort(const std::string& process_type) override; 37 bool ShouldSendMachPort(const std::string& process_type) override;
38 bool DelaySandboxInitialization(const std::string& process_type) override; 38 bool DelaySandboxInitialization(const std::string& process_type) override;
39 #elif defined(OS_POSIX) && !defined(OS_ANDROID) 39 #elif defined(OS_POSIX) && !defined(OS_ANDROID)
40 void ZygoteStarting( 40 void ZygoteStarting(
41 ScopedVector<content::ZygoteForkDelegate>* delegates) override; 41 ScopedVector<content::ZygoteForkDelegate>* delegates) override;
42 void ZygoteForked() override; 42 void ZygoteForked() override;
43 #endif 43 #endif
44 44
45 bool ShouldEnableProfilerRecording() override;
cpu_(ooo_6.6-7.5) 2015/03/16 22:16:25 this function looks like it is in the middle of a
yao 2015/03/17 14:32:01 Sorry I don't quite understand your suggestion her
vadimt 2015/03/17 14:37:26 yao@, it looks like there are 2 sections of overri
yao 2015/03/17 14:44:46 Like this? (Also, The first half is public in th
45 content::ContentBrowserClient* CreateContentBrowserClient() override; 46 content::ContentBrowserClient* CreateContentBrowserClient() override;
46 content::ContentPluginClient* CreateContentPluginClient() override; 47 content::ContentPluginClient* CreateContentPluginClient() override;
47 content::ContentRendererClient* CreateContentRendererClient() override; 48 content::ContentRendererClient* CreateContentRendererClient() override;
48 content::ContentUtilityClient* CreateContentUtilityClient() override; 49 content::ContentUtilityClient* CreateContentUtilityClient() override;
49 50
50 #if defined(OS_MACOSX) 51 #if defined(OS_MACOSX)
51 void InitMacCrashReporter(const base::CommandLine& command_line, 52 void InitMacCrashReporter(const base::CommandLine& command_line,
52 const std::string& process_type); 53 const std::string& process_type);
53 #endif // defined(OS_MACOSX) 54 #endif // defined(OS_MACOSX)
54 55
55 ChromeContentClient chrome_content_client_; 56 ChromeContentClient chrome_content_client_;
56 57
57 DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegate); 58 DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegate);
58 }; 59 };
59 60
60 #endif // CHROME_APP_CHROME_MAIN_DELEGATE_H_ 61 #endif // CHROME_APP_CHROME_MAIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/app/chrome_main_delegate.cc » ('j') | chrome/app/chrome_main_delegate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698