Chromium Code Reviews| Index: chrome/app/android/chrome_main_delegate_android.h |
| diff --git a/chrome/app/android/chrome_main_delegate_android.h b/chrome/app/android/chrome_main_delegate_android.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ed37d0c7bb042f28572663ab1beef2025120eedf |
| --- /dev/null |
| +++ b/chrome/app/android/chrome_main_delegate_android.h |
| @@ -0,0 +1,31 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_APP_ANDROID_CHROME_MAIN_DELEGATE_ANDROID_H_ |
| +#define CHROME_APP_ANDROID_CHROME_MAIN_DELEGATE_ANDROID_H_ |
| + |
| +#include "chrome/app/chrome_main_delegate.h" |
| +#include "content/public/browser/browser_main_runner.h" |
| + |
| +// Android override of ChromeMainDelegate |
| +class ChromeMainDelegateAndroid : public ChromeMainDelegate { |
| + public: |
| + ChromeMainDelegateAndroid(); |
| + virtual ~ChromeMainDelegateAndroid(); |
| + |
| + virtual bool RegisterApplicationNativeMethods(JNIEnv* env); |
| + |
| + private: |
| + virtual bool BasicStartupComplete(int* exit_code) OVERRIDE; |
| + |
| + virtual void SandboxInitialized(const std::string& process_type) OVERRIDE; |
| + |
| + virtual int RunProcess( |
| + const std::string& process_type, |
| + const content::MainFunctionParams& main_function_params) OVERRIDE; |
| + |
| + 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.
|
| +}; |
| + |
| +#endif // CHROME_APP_ANDROID_CHROME_MAIN_DELEGATE_ANDROID_H_ |