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

Unified Diff: sync/engine/sync_engine_event.h

Issue 11624037: [sync] Componentize sync: Part 6: Add more SYNC_EXPORTs to files in src/sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase (no code changes) Created 7 years, 12 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 | « sync/engine/process_updates_command.h ('k') | sync/engine/sync_scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/sync_engine_event.h
diff --git a/sync/engine/sync_engine_event.h b/sync/engine/sync_engine_event.h
index 94abfe36704f13838177d313c4708329ba8dc4d5..c30f830645e6f9aae59315b2aa199f0338cfd71b 100644
--- a/sync/engine/sync_engine_event.h
+++ b/sync/engine/sync_engine_event.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.
@@ -8,6 +8,7 @@
#include <string>
#include "base/observer_list.h"
+#include "sync/base/sync_export.h"
#include "sync/internal_api/public/sessions/sync_session_snapshot.h"
namespace syncable {
@@ -16,7 +17,7 @@ class Id;
namespace syncer {
-struct SyncEngineEvent {
+struct SYNC_EXPORT_PRIVATE SyncEngineEvent {
enum EventCause {
////////////////////////////////////////////////////////////////
// Sent on entry of Syncer state machine
@@ -57,7 +58,7 @@ struct SyncEngineEvent {
std::string updated_token;
};
-class SyncEngineEventListener {
+class SYNC_EXPORT_PRIVATE SyncEngineEventListener {
public:
// TODO(tim): Consider splitting this up to multiple callbacks, rather than
// have to do Event e(type); OnSyncEngineEvent(e); at all callsites,
« no previous file with comments | « sync/engine/process_updates_command.h ('k') | sync/engine/sync_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698