OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_ANDROID_SYNC_SHELL_CHROME_MAIN_DELEGATE_CHROME_SYNC_SHELL_ANDROID
_H_ | 5 #ifndef CHROME_ANDROID_SYNC_SHELL_CHROME_MAIN_DELEGATE_CHROME_SYNC_SHELL_ANDROID
_H_ |
6 #define CHROME_ANDROID_SYNC_SHELL_CHROME_MAIN_DELEGATE_CHROME_SYNC_SHELL_ANDROID
_H_ | 6 #define CHROME_ANDROID_SYNC_SHELL_CHROME_MAIN_DELEGATE_CHROME_SYNC_SHELL_ANDROID
_H_ |
7 | 7 |
8 #include "chrome/app/android/chrome_main_delegate_android.h" | 8 #include "chrome/app/android/chrome_main_delegate_android.h" |
9 | 9 |
10 class ChromeMainDelegateChromeSyncShellAndroid | 10 class ChromeMainDelegateChromeSyncShellAndroid |
11 : public ChromeMainDelegateAndroid { | 11 : public ChromeMainDelegateAndroid { |
12 public: | 12 public: |
13 ChromeMainDelegateChromeSyncShellAndroid(); | 13 ChromeMainDelegateChromeSyncShellAndroid(); |
14 ~ChromeMainDelegateChromeSyncShellAndroid() override; | 14 ~ChromeMainDelegateChromeSyncShellAndroid() override; |
15 | 15 |
16 bool RegisterApplicationNativeMethods(JNIEnv* env) override; | |
17 | |
18 bool BasicStartupComplete(int* exit_code) override; | 16 bool BasicStartupComplete(int* exit_code) override; |
| 17 int RunProcess( |
| 18 const std::string& process_type, |
| 19 const content::MainFunctionParams& main_function_params) override; |
19 | 20 |
20 private: | 21 private: |
21 DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegateChromeSyncShellAndroid); | 22 DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegateChromeSyncShellAndroid); |
22 }; | 23 }; |
23 | 24 |
24 #endif // CHROME_ANDROID_SYNC_SHELL_CHROME_MAIN_DELEGATE_CHROME_SYNC_SHELL_ANDR
OID_H_ | 25 #endif // CHROME_ANDROID_SYNC_SHELL_CHROME_MAIN_DELEGATE_CHROME_SYNC_SHELL_ANDR
OID_H_ |
OLD | NEW |