| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_BROWSER_ANDROID_CHROME_SYNC_SHELL_MAIN_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_CHROME_SYNC_SHELL_MAIN_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_ANDROID_CHROME_SYNC_SHELL_MAIN_DELEGATE_H_ | 6 #define CHROME_BROWSER_ANDROID_CHROME_SYNC_SHELL_MAIN_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "chrome/app/android/chrome_main_delegate_android.h" | 9 #include "chrome/app/android/chrome_main_delegate_android.h" |
| 9 | 10 |
| 10 class ChromeSyncShellMainDelegate : public ChromeMainDelegateAndroid { | 11 class ChromeSyncShellMainDelegate : public ChromeMainDelegateAndroid { |
| 11 public: | 12 public: |
| 12 ChromeSyncShellMainDelegate(); | 13 ChromeSyncShellMainDelegate(); |
| 13 ~ChromeSyncShellMainDelegate() override; | 14 ~ChromeSyncShellMainDelegate() override; |
| 14 | 15 |
| 15 protected: | 16 protected: |
| 16 int RunProcess( | 17 int RunProcess( |
| 17 const std::string& process_type, | 18 const std::string& process_type, |
| 18 const content::MainFunctionParams& main_function_params) override; | 19 const content::MainFunctionParams& main_function_params) override; |
| 19 | 20 |
| 20 private: | 21 private: |
| 21 DISALLOW_COPY_AND_ASSIGN(ChromeSyncShellMainDelegate); | 22 DISALLOW_COPY_AND_ASSIGN(ChromeSyncShellMainDelegate); |
| 22 }; | 23 }; |
| 23 | 24 |
| 24 #endif // CHROME_BROWSER_ANDROID_CHROME_SYNC_SHELL_MAIN_DELEGATE_H_ | 25 #endif // CHROME_BROWSER_ANDROID_CHROME_SYNC_SHELL_MAIN_DELEGATE_H_ |
| OLD | NEW |