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

Unified Diff: chrome/app/android/chrome_main_delegate_android.h

Issue 1320253002: Merge ChromeMainDelegateStagingAndroid into ChromeMainDelegateAndroid. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: used more specific DEPS rule Created 5 years, 3 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
« no previous file with comments | « chrome/app/DEPS ('k') | chrome/app/android/chrome_main_delegate_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
index d03019c842092996e8f592cce4d978d8f19323aa..1a34203c9246ab69de653a28d637e3db752b519f 100644
--- a/chrome/app/android/chrome_main_delegate_android.h
+++ b/chrome/app/android/chrome_main_delegate_android.h
@@ -5,9 +5,12 @@
#ifndef CHROME_APP_ANDROID_CHROME_MAIN_DELEGATE_ANDROID_H_
#define CHROME_APP_ANDROID_CHROME_MAIN_DELEGATE_ANDROID_H_
+#include "base/memory/scoped_ptr.h"
#include "chrome/app/chrome_main_delegate.h"
#include "content/public/browser/browser_main_runner.h"
+class SafeBrowsingApiHandler;
+
// Android override of ChromeMainDelegate
class ChromeMainDelegateAndroid : public ChromeMainDelegate {
public:
@@ -18,16 +21,23 @@ class ChromeMainDelegateAndroid : public ChromeMainDelegate {
~ChromeMainDelegateAndroid() override;
bool BasicStartupComplete(int* exit_code) override;
-
void SandboxInitialized(const std::string& process_type) override;
-
int RunProcess(
const std::string& process_type,
const content::MainFunctionParams& main_function_params) override;
+ void ProcessExiting(const std::string& process_type) override;
+
+#if defined(SAFE_BROWSING_DB_REMOTE)
+ virtual SafeBrowsingApiHandler* CreateSafeBrowsingApiHandler();
+#endif
private:
scoped_ptr<content::BrowserMainRunner> browser_runner_;
+#if defined(SAFE_BROWSING_DB_REMOTE)
+ scoped_ptr<SafeBrowsingApiHandler> safe_browsing_api_handler_;
+#endif
+
DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegateAndroid);
};
« no previous file with comments | « chrome/app/DEPS ('k') | chrome/app/android/chrome_main_delegate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698