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

Unified Diff: base/threading/non_thread_safe.h

Issue 6969077: net: Add NET_API to net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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
Index: base/threading/non_thread_safe.h
===================================================================
--- base/threading/non_thread_safe.h (revision 85332)
+++ base/threading/non_thread_safe.h (working copy)
@@ -6,6 +6,12 @@
#define BASE_THREADING_NON_THREAD_SAFE_H_
#pragma once
+// Classes deriving from NonThreadSafe may need to supress MSVC warning 4275:
+// non dll-interface class 'Bar' used as base for dll-interface class 'Foo'.
+// There is a specific macro to do it: NON_EXPORTED_BASE(), defined in
+// compiler_specific.h
+#include "base/compiler_specific.h"
+
#ifndef NDEBUG
#include "base/threading/non_thread_safe_impl.h"
#endif

Powered by Google App Engine
This is Rietveld 408576698