Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1469)

Unified Diff: chrome/browser/android/chrome_main_delegate_staging_android.h

Issue 1141283003: Upstream oodles of Chrome for Android code into Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final patch? Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/chrome_main_delegate_staging_android.h
diff --git a/chrome/browser/android/chrome_main_delegate_staging_android.h b/chrome/browser/android/chrome_main_delegate_staging_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..a342b14b3255e170c71aa663889646de0b1f2fe2
--- /dev/null
+++ b/chrome/browser/android/chrome_main_delegate_staging_android.h
@@ -0,0 +1,36 @@
+// Copyright 2015 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_BROWSER_ANDROID_CHROME_MAIN_DELEGATE_STAGING_ANDROID_H_
+#define CHROME_BROWSER_ANDROID_CHROME_MAIN_DELEGATE_STAGING_ANDROID_H_
+
+#include "chrome/app/android/chrome_main_delegate_android.h"
+
+#if defined(SAFE_BROWSING_SERVICE)
+#include "chrome/browser/android/spdy_proxy_resource_throttle.h"
+#endif
+
+class SpdyProxyResourceThrottleFactory;
+
+class ChromeMainDelegateStagingAndroid : public ChromeMainDelegateAndroid {
+ public:
+ ChromeMainDelegateStagingAndroid();
+ ~ChromeMainDelegateStagingAndroid() override;
+
+ protected:
+ int RunProcess(
+ const std::string& process_type,
+ const content::MainFunctionParams& main_function_params) override;
+
+ private:
+ bool BasicStartupComplete(int* exit_code) override;
+ void ProcessExiting(const std::string& process_type) override;
+#if defined(SAFE_BROWSING_SERVICE)
+ scoped_ptr<SpdyProxyResourceThrottleFactory> spdy_proxy_throttle_factory_;
+#endif
+
+ DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegateStagingAndroid);
+};
+
+#endif // CHROME_BROWSER_ANDROID_CHROME_MAIN_DELEGATE_STAGING_ANDROID_H_
« no previous file with comments | « chrome/browser/android/chrome_entry_point.cc ('k') | chrome/browser/android/chrome_main_delegate_staging_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698