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

Unified Diff: chrome/browser/android/app_hooks.cc

Issue 2888273003: [Offline Pages] Add an observer for requests in the CCT namespace. (Closed)
Patch Set: comments. Created 3 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
« no previous file with comments | « chrome/browser/android/app_hooks.h ('k') | chrome/browser/android/offline_pages/cct_request_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/app_hooks.cc
diff --git a/chrome/browser/android/app_hooks.cc b/chrome/browser/android/app_hooks.cc
index e11f428acd543f9314ce0e657a028358c971ea11..75c4742dfb044504cc977a37e0e23e1f68117f74 100644
--- a/chrome/browser/android/app_hooks.cc
+++ b/chrome/browser/android/app_hooks.cc
@@ -23,5 +23,13 @@ bool AppHooks::ShouldDetectVideoFullscreen() {
return Java_AppHooks_shouldDetectVideoFullscreen(env, app_hooks_obj);
}
+ScopedJavaLocalRef<jobject> AppHooks::GetOfflinePagesCCTRequestDoneCallback() {
+ JNIEnv* env = base::android::AttachCurrentThread();
+ ScopedJavaLocalRef<jobject> app_hooks_obj = Java_AppHooks_get(env);
+
+ return Java_AppHooks_getOfflinePagesCCTRequestDoneCallback(env,
+ app_hooks_obj);
+}
+
} // namespace android
} // namespace chrome
« no previous file with comments | « chrome/browser/android/app_hooks.h ('k') | chrome/browser/android/offline_pages/cct_request_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698