chromium/components/sync_user_events/user_event_service_impl.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/sync_user_events/user_event_service_impl.h"

#include <utility>

#include "base/metrics/histogram_functions.h"
#include "base/rand_util.h"
#include "base/time/time.h"
#include "components/sync_user_events/user_event_sync_bridge.h"

UserEventSpecifics;

namespace syncer {

namespace {

enum NavigationPresence {};

NavigationPresence GetNavigationPresence(
    UserEventSpecifics::EventCase event_case) {}

bool NavigationPresenceValid(UserEventSpecifics::EventCase event_case,
                             bool has_navigation_id) {}

// An equivalent to UserEventSpecifics::EventCase (from the proto) that's
// appropriate for recording in UMA. These values are persisted to logs. Entries
// should not be renumbered and numeric values should never be reused. Keep in
// sync with SyncUserEventType in
// tools/metrics/histograms/metadata/sync/enums.xml.
// LINT.IfChange(SyncUserEventType)
enum class EventTypeForUMA {};
// LINT.ThenChange(/tools/metrics/histograms/metadata/sync/enums.xml:SyncUserEventType)

EventTypeForUMA GetEventTypeForUMA(UserEventSpecifics::EventCase event_case) {}

}  // namespace

UserEventServiceImpl::UserEventServiceImpl(
    std::unique_ptr<UserEventSyncBridge> bridge)
    :{}

UserEventServiceImpl::~UserEventServiceImpl() = default;

void UserEventServiceImpl::Shutdown() {}

void UserEventServiceImpl::RecordUserEvent(
    std::unique_ptr<UserEventSpecifics> specifics) {}

void UserEventServiceImpl::RecordUserEvent(
    const UserEventSpecifics& specifics) {}

base::WeakPtr<syncer::DataTypeControllerDelegate>
UserEventServiceImpl::GetControllerDelegate() {}

bool UserEventServiceImpl::ShouldRecordEvent(
    const UserEventSpecifics& specifics) {}

}  // namespace syncer