#include "chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.h"
#include <stdint.h>
#include <memory>
#include <utility>
#include <vector>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/values.h"
#include "chrome/browser/apps/platform_apps/api/sync_file_system/sync_file_system_api_helpers.h"
#include "chrome/browser/drive/drive_notification_manager_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sync_file_system/logger.h"
#include "chrome/browser/sync_file_system/sync_file_system_service.h"
#include "chrome/browser/sync_file_system/sync_file_system_service_factory.h"
#include "chrome/browser/sync_file_system/sync_service_state.h"
#include "chrome/common/apps/platform_apps/api/sync_file_system.h"
#include "components/drive/drive_notification_manager.h"
#include "content/public/browser/storage_partition.h"
#include "content/public/browser/web_ui.h"
#include "google_apis/common/time_util.h"
EventLogger;
SyncFileSystemServiceFactory;
SyncServiceState;
namespace syncfs_internals {
SyncFileSystemInternalsHandler::SyncFileSystemInternalsHandler(Profile* profile)
: … { … }
SyncFileSystemInternalsHandler::~SyncFileSystemInternalsHandler() { … }
void SyncFileSystemInternalsHandler::RegisterMessages() { … }
void SyncFileSystemInternalsHandler::OnSyncStateUpdated(
const GURL& app_origin,
sync_file_system::SyncServiceState state,
const std::string& description) { … }
void SyncFileSystemInternalsHandler::OnFileSynced(
const storage::FileSystemURL& url,
sync_file_system::SyncFileType file_type,
sync_file_system::SyncFileStatus status,
sync_file_system::SyncAction action,
sync_file_system::SyncDirection direction) { … }
void SyncFileSystemInternalsHandler::OnLogRecorded(
const sync_file_system::TaskLogger::TaskLog& task_log) { … }
void SyncFileSystemInternalsHandler::HandleGetServiceStatus(
const base::Value::List& args) { … }
void SyncFileSystemInternalsHandler::HandleGetNotificationSource(
const base::Value::List& args) { … }
void SyncFileSystemInternalsHandler::HandleGetLog(
const base::Value::List& args) { … }
void SyncFileSystemInternalsHandler::HandleClearLogs(
const base::Value::List& args) { … }
void SyncFileSystemInternalsHandler::HandleObserveTaskLog(
const base::Value::List& args) { … }
}