blob: c1536ba50c856e599e235b7270745d51e7215656 [file] [log] [blame]
// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "sync/base/sync_export.h"
#include "sync/protocol/sync.pb.h"
namespace syncer {
namespace sessions {
// This is the interface that needs to be implemented by the event listener
// to communicate the debug info data to the syncer.
class SYNC_EXPORT_PRIVATE DebugInfoGetter {
// Gets the client debug info and clears the state so the same data is not
// sent again.
virtual void GetAndClearDebugInfo(sync_pb::DebugInfo* debug_info) = 0;
virtual ~DebugInfoGetter() {}
} // namespace sessions
} // namespace syncer