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

Unified Diff: base/message_loop.h

Issue 6736019: Base: A few more files using BASE_API (for base.dll) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 9 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/message_loop.h
===================================================================
--- base/message_loop.h (revision 79303)
+++ base/message_loop.h (working copy)
@@ -9,6 +9,7 @@
#include <queue>
#include <string>
+#include "base/base_api.h"
#include "base/basictypes.h"
#include "base/message_pump.h"
#include "base/observer_list.h"
@@ -65,7 +66,7 @@
// Please be SURE your task is reentrant (nestable) and all global variables
// are stable and accessible before calling SetNestableTasksAllowed(true).
//
-class MessageLoop : public base::MessagePump::Delegate {
+class BASE_API MessageLoop : public base::MessagePump::Delegate {
public:
#if defined(OS_WIN)
typedef base::MessagePumpWin::Dispatcher Dispatcher;
@@ -117,7 +118,7 @@
// NOTE: Any tasks posted to the MessageLoop during this notification will
// not be run. Instead, they will be deleted.
//
- class DestructionObserver {
+ class BASE_API DestructionObserver {
public:
virtual void WillDestroyCurrentMessageLoop() = 0;
@@ -283,7 +284,7 @@
// MessageLoop.
//
// NOTE: A TaskObserver implementation should be extremely fast!
- class TaskObserver {
+ class BASE_API TaskObserver {
public:
TaskObserver();
@@ -496,6 +497,7 @@
ObserverList<TaskObserver> task_observers_;
+ private:
DISALLOW_COPY_AND_ASSIGN(MessageLoop);
};
@@ -506,7 +508,7 @@
// This class is typically used like so:
// MessageLoopForUI::current()->...call some method...
//
-class MessageLoopForUI : public MessageLoop {
+class BASE_API MessageLoopForUI : public MessageLoop {
public:
MessageLoopForUI() : MessageLoop(TYPE_UI) {
}
@@ -562,7 +564,7 @@
// This class is typically used like so:
// MessageLoopForIO::current()->...call some method...
//
-class MessageLoopForIO : public MessageLoop {
+class BASE_API MessageLoopForIO : public MessageLoop {
public:
#if defined(OS_WIN)
typedef base::MessagePumpForIO::IOHandler IOHandler;

Powered by Google App Engine
This is Rietveld 408576698