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

Unified Diff: components/sync/engine_impl/net/server_connection_manager.h

Issue 2240613002: [Sync] Convert sync to a static library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try getting rid of sync_core source set. Created 4 years, 4 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 | « components/sync/engine_impl/model_type_worker.h ('k') | components/sync/engine_impl/nudge_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine_impl/net/server_connection_manager.h
diff --git a/components/sync/engine_impl/net/server_connection_manager.h b/components/sync/engine_impl/net/server_connection_manager.h
index ba35d1d9013734cf165fdd5772ef1cedc87da6eb..53ad716abad7f12910167f078edcd58baefeeb7a 100644
--- a/components/sync/engine_impl/net/server_connection_manager.h
+++ b/components/sync/engine_impl/net/server_connection_manager.h
@@ -19,7 +19,6 @@
#include "base/threading/non_thread_safe.h"
#include "base/threading/thread_checker.h"
#include "components/sync/base/cancelation_observer.h"
-#include "components/sync/base/sync_export.h"
#include "components/sync/syncable/syncable_id.h"
namespace sync_pb {
@@ -41,7 +40,7 @@ static const int32_t kUnsetPayloadLength = -1;
// HttpResponse gathers the relevant output properties of an HTTP request.
// Depending on the value of the server_status code, response_code, and
// content_length may not be valid.
-struct SYNC_EXPORT HttpResponse {
+struct HttpResponse {
enum ServerConnectionCode {
// For uninitialized state.
NONE,
@@ -98,7 +97,7 @@ struct ServerConnectionEvent {
: connection_code(code) {}
};
-class SYNC_EXPORT ServerConnectionEventListener {
+class ServerConnectionEventListener {
public:
virtual void OnServerConnectionEvent(const ServerConnectionEvent& event) = 0;
@@ -109,7 +108,7 @@ class SYNC_EXPORT ServerConnectionEventListener {
// Use this class to interact with the sync server.
// The ServerConnectionManager currently supports POSTing protocol buffers.
//
-class SYNC_EXPORT ServerConnectionManager : public CancelationObserver {
+class ServerConnectionManager : public CancelationObserver {
public:
// buffer_in - will be POSTed
// buffer_out - string will be overwritten with response
« no previous file with comments | « components/sync/engine_impl/model_type_worker.h ('k') | components/sync/engine_impl/nudge_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698