OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_ANDROID_CHROME_MAIN_DELEGATE_STAGING_ANDROID_H_ |
| 6 #define CHROME_BROWSER_ANDROID_CHROME_MAIN_DELEGATE_STAGING_ANDROID_H_ |
| 7 |
| 8 #include "chrome/app/android/chrome_main_delegate_android.h" |
| 9 |
| 10 #if defined(SAFE_BROWSING_SERVICE) |
| 11 #include "chrome/browser/android/spdy_proxy_resource_throttle.h" |
| 12 #endif |
| 13 |
| 14 class SpdyProxyResourceThrottleFactory; |
| 15 |
| 16 class ChromeMainDelegateStagingAndroid : public ChromeMainDelegateAndroid { |
| 17 public: |
| 18 ChromeMainDelegateStagingAndroid(); |
| 19 ~ChromeMainDelegateStagingAndroid() override; |
| 20 |
| 21 protected: |
| 22 int RunProcess( |
| 23 const std::string& process_type, |
| 24 const content::MainFunctionParams& main_function_params) override; |
| 25 |
| 26 private: |
| 27 bool BasicStartupComplete(int* exit_code) override; |
| 28 void ProcessExiting(const std::string& process_type) override; |
| 29 #if defined(SAFE_BROWSING_SERVICE) |
| 30 scoped_ptr<SpdyProxyResourceThrottleFactory> spdy_proxy_throttle_factory_; |
| 31 #endif |
| 32 |
| 33 DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegateStagingAndroid); |
| 34 }; |
| 35 |
| 36 #endif // CHROME_BROWSER_ANDROID_CHROME_MAIN_DELEGATE_STAGING_ANDROID_H_ |
OLD | NEW |