| 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 1f4fb8ba83fe26ce5924da5c46e5aaad2a3e2b2e..f7395e62f443d3f7e7f1446918d7007a576ff2ea 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 {
|
| @@ -27,7 +28,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(
|
| @@ -52,6 +54,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,
|
|
|