Index: sync/internal_api/events/protocol_event.cc |
diff --git a/sync/internal_api/events/protocol_event.cc b/sync/internal_api/events/protocol_event.cc |
deleted file mode 100644 |
index f7fdb00c31a5c4b4dd0331b71b6cb007383711dc..0000000000000000000000000000000000000000 |
--- a/sync/internal_api/events/protocol_event.cc |
+++ /dev/null |
@@ -1,25 +0,0 @@ |
-// Copyright 2014 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/internal_api/public/events/protocol_event.h" |
- |
-namespace syncer { |
- |
-ProtocolEvent::ProtocolEvent() {} |
- |
-ProtocolEvent::~ProtocolEvent() {} |
- |
-std::unique_ptr<base::DictionaryValue> ProtocolEvent::ToValue( |
- const ProtocolEvent& event) { |
- std::unique_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); |
- |
- dict->SetDouble("time", event.GetTimestamp().ToJsTime()); |
- dict->SetString("type", event.GetType()); |
- dict->SetString("details", event.GetDetails()); |
- dict->Set("proto", event.GetProtoMessage().release()); |
- |
- return dict; |
-} |
- |
-} // namespace syncer |