From aa166d02133c942de7498ebab60a47de2827f3df Mon Sep 17 00:00:00 2001 From: "rsimha@chromium.org" Date: Tue, 11 Dec 2012 23:47:42 +0000 Subject: [sync] Componentize sync: Part 2: Add SYNC_EXPORTs to files in src/sync/ One of the long term goals of the sync team is to pull sync code out of chrome.dll and into its own component. As of today, several chrome targets depend on various sync targets as defined in sync.gyp. We'd like to move to a world where all chrome targets outside sync.gyp simply depend on the target sync.gyp:sync, which is built into its own component. This patch sets the stage for full componentization by adding SYNC_EXPORT annotations to classes / methods within src/sync. The final step of breaking off sync into its own component will be done in https://codereview.chromium.org/11412211. BUG=136928 Review URL: https://chromiumcodereview.appspot.com/11515009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172458 0039d316-1c4b-4281-b951-d872f2087c98 --- sync/js/js_controller.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sync/js/js_controller.h') diff --git a/sync/js/js_controller.h b/sync/js/js_controller.h index c2a5475..08432bf 100644 --- a/sync/js/js_controller.h +++ b/sync/js/js_controller.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. @@ -9,6 +9,8 @@ #include +#include "sync/base/sync_export.h" + namespace syncer { class JsArgList; @@ -19,7 +21,7 @@ template class WeakHandle; // An interface for objects that JsEventHandlers directly interact // with. JsEventHandlers can add themselves to receive events and // also send messages which will eventually reach the backend. -class JsController { +class SYNC_EXPORT JsController { public: // Adds an event handler which will start receiving JS events (not // immediately, so this can be called in the handler's constructor). -- cgit v1.1