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

Unified Diff: sync/protocol/sync_protocol_error.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/protocol/proto_value_conversions.h ('k') | sync/syncable/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/protocol/sync_protocol_error.h
diff --git a/sync/protocol/sync_protocol_error.h b/sync/protocol/sync_protocol_error.h
index f23659b503abc438fbb2dbbc7db48bb96f7054d2..8339d0322daf87971b57de9090eaf4c15d77249e 100644
--- a/sync/protocol/sync_protocol_error.h
+++ b/sync/protocol/sync_protocol_error.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.
#ifndef SYNC_PROTOCOL_SYNC_PROTOCOL_ERROR_H_
@@ -7,6 +7,7 @@
#include <string>
#include "base/values.h"
+#include "sync/base/sync_export.h"
#include "sync/internal_api/public/base/model_type.h"
namespace syncer{
@@ -62,7 +63,7 @@ enum ClientAction {
UNKNOWN_ACTION
};
-struct SyncProtocolError {
+struct SYNC_EXPORT SyncProtocolError {
SyncProtocolErrorType error_type;
std::string error_description;
std::string url;
@@ -73,8 +74,8 @@ struct SyncProtocolError {
DictionaryValue* ToValue() const;
};
-const char* GetSyncErrorTypeString(SyncProtocolErrorType type);
-const char* GetClientActionString(ClientAction action);
+SYNC_EXPORT const char* GetSyncErrorTypeString(SyncProtocolErrorType type);
+SYNC_EXPORT const char* GetClientActionString(ClientAction action);
} // namespace syncer
#endif // SYNC_PROTOCOL_SYNC_PROTOCOL_ERROR_H_
« no previous file with comments | « sync/protocol/proto_value_conversions.h ('k') | sync/syncable/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698