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

Unified Diff: sync/util/time.h

Issue 11515009: [sync] Componentize sync: Part 2: Add SYNC_EXPORTs to files in src/sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR Feedback Created 8 years 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 | « sync/util/nigori.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/util/time.h
diff --git a/sync/util/time.h b/sync/util/time.h
index 8ba72a313b035586a807c3771c62e6cf8f60ba41..2b0b245086962f6272692e572ed2d1113e9f701d 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
« no previous file with comments | « sync/util/nigori.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698