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

Unified Diff: sync/internal_api/public/util/weak_handle.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: 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
Index: sync/internal_api/public/util/weak_handle.h
diff --git a/sync/internal_api/public/util/weak_handle.h b/sync/internal_api/public/util/weak_handle.h
index 2e499103ed1893de39d12f6c09051faa32d5d21a..57a44bd03b02f35242ca3f1eeac3daf866872cc3 100644
--- a/sync/internal_api/public/util/weak_handle.h
+++ b/sync/internal_api/public/util/weak_handle.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.
@@ -58,6 +58,7 @@
#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
+#include "sync/base/sync_export.h"
namespace base {
class MessageLoopProxy;
@@ -99,7 +100,7 @@ struct ParamTraits<T[]> {
// Base class for WeakHandleCore<T> to avoid template bloat. Handles
// the interaction with the owner thread and its message loop.
-class WeakHandleCoreBase {
+class SYNC_EXPORT WeakHandleCoreBase {
akalin 2012/12/11 00:02:52 hmm. Can you see if you can avoid exporting this
Raghu Simha 2012/12/11 01:27:51 Done.
public:
// Assumes the current thread is the owner thread.
WeakHandleCoreBase();

Powered by Google App Engine
This is Rietveld 408576698