Index: chrome/browser/android/chrome_application.cc |
diff --git a/chrome/browser/android/chrome_application.cc b/chrome/browser/android/chrome_application.cc |
index 2477ed600bfbab34fe8368c7f147f7f3331667e3..212aa6151befeb2a10f2aaae8f18b41fa193deab 100644 |
--- a/chrome/browser/android/chrome_application.cc |
+++ b/chrome/browser/android/chrome_application.cc |
@@ -15,8 +15,6 @@ |
#include "chrome/browser/net/predictor.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/profiles/profile_manager.h" |
-#include "chrome/browser/safe_browsing/protocol_manager.h" |
-#include "chrome/browser/safe_browsing/safe_browsing_service.h" |
#include "chrome/common/chrome_content_client.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/storage_partition.h" |
@@ -68,15 +66,6 @@ void RemoveSessionCookiesForProfile(Profile* profile) { |
make_scoped_refptr(profile->GetRequestContext()))); |
} |
-void ChangeAppStatusOnIOThread(safe_browsing::SafeBrowsingService* sb_service, |
- jboolean foreground) { |
- DCHECK_CURRENTLY_ON(content::BrowserThread::IO); |
- safe_browsing::SafeBrowsingProtocolManager* proto_manager = |
- sb_service->protocol_manager(); |
- if (proto_manager) |
- proto_manager->SetAppInForeground(foreground); |
-} |
- |
} // namespace |
static ScopedJavaLocalRef<jstring> GetBrowserUserAgent( |
@@ -103,16 +92,6 @@ static void RemoveSessionCookies(JNIEnv* env, const JavaParamRef<jclass>& obj) { |
RemoveSessionCookiesForProfile); |
} |
-static void ChangeAppStatus(JNIEnv* env, |
- const JavaParamRef<jclass>& obj, |
- jboolean foreground) { |
- content::BrowserThread::PostTask( |
- content::BrowserThread::IO, FROM_HERE, |
- base::Bind(&ChangeAppStatusOnIOThread, |
- base::Unretained(g_browser_process->safe_browsing_service()), |
- foreground)); |
-} |
- |
namespace chrome { |
namespace android { |