| Index: chrome/browser/android/offline_pages/evaluation/offline_page_evaluation_bridge.h
|
| diff --git a/chrome/browser/android/offline_pages/evaluation/offline_page_evaluation_bridge.h b/chrome/browser/android/offline_pages/evaluation/offline_page_evaluation_bridge.h
|
| index e860143937bd70dd2a6b537d65f0ad060b65a0e1..627e69ec2a167a3fbe183ab1c015de2a939418ee 100644
|
| --- a/chrome/browser/android/offline_pages/evaluation/offline_page_evaluation_bridge.h
|
| +++ b/chrome/browser/android/offline_pages/evaluation/offline_page_evaluation_bridge.h
|
| @@ -11,6 +11,7 @@
|
| #include "base/macros.h"
|
| #include "components/offline_pages/background/request_coordinator.h"
|
| #include "components/offline_pages/background/request_notifier.h"
|
| +#include "components/offline_pages/offline_event_logger.h"
|
| #include "components/offline_pages/offline_page_model.h"
|
|
|
| namespace content {
|
| @@ -25,7 +26,8 @@ namespace android {
|
| * Bridge for exposing native implementation which are used by evaluation.
|
| */
|
| class OfflinePageEvaluationBridge : public OfflinePageModel::Observer,
|
| - public RequestCoordinator::Observer {
|
| + public RequestCoordinator::Observer,
|
| + public OfflineEventLogger::Client {
|
| public:
|
| static bool Register(JNIEnv* env);
|
| static std::unique_ptr<KeyedService> GetTestingRequestCoordinator(
|
| @@ -50,6 +52,10 @@ class OfflinePageEvaluationBridge : public OfflinePageModel::Observer,
|
| RequestNotifier::BackgroundSavePageResult status) override;
|
| void OnChanged(const SavePageRequest& request) override;
|
|
|
| + // OfflineEventLogger::Client implementation.
|
| + void CustomLog(const std::string& message) override;
|
| +
|
| + // Gets all pages in offline page model.
|
| void GetAllPages(JNIEnv* env,
|
| const base::android::JavaParamRef<jobject>& obj,
|
| const base::android::JavaParamRef<jobject>& j_result_obj,
|
|
|