| Index: sync/sessions/debug_info_getter.h
|
| diff --git a/sync/sessions/debug_info_getter.h b/sync/sessions/debug_info_getter.h
|
| index c1536ba50c856e599e235b7270745d51e7215656..7efe0cb649f43043d3cb5b1b4f4294aa8ee44b88 100644
|
| --- a/sync/sessions/debug_info_getter.h
|
| +++ b/sync/sessions/debug_info_getter.h
|
| @@ -15,9 +15,13 @@ namespace sessions {
|
| // to communicate the debug info data to the syncer.
|
| class SYNC_EXPORT_PRIVATE DebugInfoGetter {
|
| public:
|
| - // 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;
|
| + // Gets the client debug info. Be sure to clear the info to ensure the data
|
| + // isn't sent multiple times.
|
| + virtual void GetDebugInfo(sync_pb::DebugInfo* debug_info) = 0;
|
| +
|
| + // Clears the debug info.
|
| + virtual void ClearDebugInfo() = 0;
|
| +
|
| virtual ~DebugInfoGetter() {}
|
| };
|
|
|
| @@ -25,4 +29,3 @@ class SYNC_EXPORT_PRIVATE DebugInfoGetter {
|
| } // namespace syncer
|
|
|
| #endif // SYNC_SESSIONS_DEBUG_INFO_GETTER_H_
|
| -
|
|
|