Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Unified Diff: sync/engine/traffic_recorder.h

Issue 12090113: Revert 180073 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sync/engine/traffic_recorder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/traffic_recorder.h
===================================================================
--- sync/engine/traffic_recorder.h (revision 180080)
+++ sync/engine/traffic_recorder.h (working copy)
@@ -10,7 +10,6 @@
#include "base/basictypes.h"
#include "base/gtest_prod_util.h"
-#include "base/time.h"
#include "base/values.h"
#include "sync/base/sync_export.h"
#include "sync/protocol/sync.pb.h"
@@ -41,18 +40,14 @@
TrafficRecord(const std::string& message,
TrafficMessageType message_type,
- bool truncated,
- base::Time time);
+ bool truncated);
TrafficRecord();
~TrafficRecord();
DictionaryValue* ToValue() const;
-
- // Time of record creation.
- base::Time timestamp;
};
TrafficRecorder(unsigned int max_messages, unsigned int max_message_size);
- virtual ~TrafficRecorder();
+ ~TrafficRecorder();
void RecordClientToServerMessage(const sync_pb::ClientToServerMessage& msg);
void RecordClientToServerResponse(
@@ -68,9 +63,6 @@
void StoreProtoInQueue(const ::google::protobuf::MessageLite& msg,
TrafficMessageType type);
- // Method to get record creation time.
- virtual base::Time GetTime();
-
// Maximum number of messages stored in the queue.
unsigned int max_messages_;
« no previous file with comments | « no previous file | sync/engine/traffic_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698