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

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

Issue 10918113: Add initial Chromium TestShell support for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove commented out lines. Created 8 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 | « chrome/app/android/chrome_main_delegate_android.cc ('k') | 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 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/metrics/stats_counters.h" 9 #include "base/metrics/stats_counters.h"
10 #include "chrome/common/chrome_content_client.h" 10 #include "chrome/common/chrome_content_client.h"
11 #include "content/public/app/content_main_delegate.h" 11 #include "content/public/app/content_main_delegate.h"
12 12
13 // Chrome implementation of ContentMainDelegate. 13 // Chrome implementation of ContentMainDelegate.
14 class ChromeMainDelegate : public content::ContentMainDelegate { 14 class ChromeMainDelegate : public content::ContentMainDelegate {
15 public: 15 public:
16 ChromeMainDelegate(); 16 ChromeMainDelegate();
17 virtual ~ChromeMainDelegate(); 17 virtual ~ChromeMainDelegate();
18 18
19 private: 19 protected:
20 // content::ContentMainDelegate implementation: 20 // content::ContentMainDelegate implementation:
21 virtual bool BasicStartupComplete(int* exit_code) OVERRIDE; 21 virtual bool BasicStartupComplete(int* exit_code) OVERRIDE;
22 virtual void PreSandboxStartup() OVERRIDE; 22 virtual void PreSandboxStartup() OVERRIDE;
23 virtual void SandboxInitialized(const std::string& process_type) OVERRIDE; 23 virtual void SandboxInitialized(const std::string& process_type) OVERRIDE;
24 virtual int RunProcess( 24 virtual int RunProcess(
25 const std::string& process_type, 25 const std::string& process_type,
26 const content::MainFunctionParams& main_function_params) OVERRIDE; 26 const content::MainFunctionParams& main_function_params) OVERRIDE;
27 virtual void ProcessExiting(const std::string& process_type) OVERRIDE; 27 virtual void ProcessExiting(const std::string& process_type) OVERRIDE;
28 #if defined(OS_MACOSX) 28 #if defined(OS_MACOSX)
29 virtual bool ProcessRegistersWithSystemProcess( 29 virtual bool ProcessRegistersWithSystemProcess(
(...skipping 16 matching lines...) Expand all
46 const std::string& process_type); 46 const std::string& process_type);
47 #endif // defined(OS_MACOSX) 47 #endif // defined(OS_MACOSX)
48 48
49 chrome::ChromeContentClient chrome_content_client_; 49 chrome::ChromeContentClient chrome_content_client_;
50 scoped_ptr<base::StatsScope<base::StatsCounterTimer> > startup_timer_; 50 scoped_ptr<base::StatsScope<base::StatsCounterTimer> > startup_timer_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegate); 52 DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegate);
53 }; 53 };
54 54
55 #endif // CHROME_APP_CHROME_MAIN_DELEGATE_H_ 55 #endif // CHROME_APP_CHROME_MAIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/app/android/chrome_main_delegate_android.cc ('k') | chrome/app/chrome_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698