Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 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 CHROME_APP_ANDROID_CHROME_MAIN_DELEGATE_ANDROID_H_ | |
| 6 #define CHROME_APP_ANDROID_CHROME_MAIN_DELEGATE_ANDROID_H_ | |
| 7 | |
| 8 #include "chrome/app/chrome_main_delegate.h" | |
| 9 #include "content/public/browser/browser_main_runner.h" | |
| 10 | |
| 11 // Android override of ChromeMainDelegate | |
| 12 class ChromeMainDelegateAndroid : public ChromeMainDelegate { | |
| 13 public: | |
| 14 ChromeMainDelegateAndroid(); | |
| 15 virtual ~ChromeMainDelegateAndroid(); | |
| 16 | |
| 17 virtual bool RegisterApplicationNativeMethods(JNIEnv* env); | |
| 18 | |
| 19 private: | |
| 20 virtual bool BasicStartupComplete(int* exit_code) OVERRIDE; | |
| 21 | |
| 22 virtual void SandboxInitialized(const std::string& process_type) OVERRIDE; | |
| 23 | |
| 24 virtual int RunProcess( | |
| 25 const std::string& process_type, | |
| 26 const content::MainFunctionParams& main_function_params) OVERRIDE; | |
| 27 | |
| 28 scoped_ptr<content::BrowserMainRunner> browser_runner_; | |
|
Yaron
2012/09/07 20:53:43
DISALLOW_COPY..
David Trainor- moved to gerrit
2012/09/10 18:09:13
Done.
| |
| 29 }; | |
| 30 | |
| 31 #endif // CHROME_APP_ANDROID_CHROME_MAIN_DELEGATE_ANDROID_H_ | |
| OLD | NEW |