diff options
Diffstat (limited to 'sync/util/time.h')
-rw-r--r-- | sync/util/time.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sync/util/time.h b/sync/util/time.h index 8ba72a3..2b0b245 100644 --- a/sync/util/time.h +++ b/sync/util/time.h @@ -1,4 +1,4 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// 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. // @@ -11,17 +11,18 @@ #include "base/basictypes.h" #include "base/time.h" +#include "sync/base/sync_export.h" namespace syncer { // Converts a time object to the format used in sync protobufs (ms // since the Unix epoch). -int64 TimeToProtoTime(const base::Time& t); +SYNC_EXPORT int64 TimeToProtoTime(const base::Time& t); // Converts a time field from sync protobufs to a time object. base::Time ProtoTimeToTime(int64 proto_t); -std::string GetTimeDebugString(const base::Time& t); +SYNC_EXPORT std::string GetTimeDebugString(const base::Time& t); } // namespace syncer |