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

Unified Diff: src/base/platform/platform.h

Issue 2396933002: Revert of Reland "Turn libbase into a component" (Closed)
Patch Set: Created 4 years, 2 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 | « src/base/platform/mutex.h ('k') | src/base/platform/semaphore.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/platform/platform.h
diff --git a/src/base/platform/platform.h b/src/base/platform/platform.h
index 5d570e7048b6d1fc4b600cfd3f9e38ba397e4a18..d3b6c9c1cf3d758276ccc39c50a20b51fc9f9f98 100644
--- a/src/base/platform/platform.h
+++ b/src/base/platform/platform.h
@@ -25,7 +25,6 @@
#include <string>
#include <vector>
-#include "src/base/base-export.h"
#include "src/base/build_config.h"
#include "src/base/compiler-specific.h"
#include "src/base/platform/mutex.h"
@@ -70,7 +69,7 @@
#define V8_FAST_TLS_SUPPORTED 1
-extern V8_BASE_EXPORT intptr_t kMacTlsBaseOffset;
+extern intptr_t kMacTlsBaseOffset;
INLINE(intptr_t InternalGetExistingThreadLocal(intptr_t index));
@@ -103,7 +102,7 @@
// functions. Add methods here to cope with differences between the
// supported platforms.
-class V8_BASE_EXPORT OS {
+class OS {
public:
// Initialize the OS class.
// - random_seed: Used for the GetRandomMmapAddress() if non-zero.
@@ -212,7 +211,7 @@
char text[kStackWalkMaxTextLen];
};
- class V8_BASE_EXPORT MemoryMappedFile {
+ class MemoryMappedFile {
public:
virtual ~MemoryMappedFile() {}
virtual void* memory() const = 0;
@@ -287,7 +286,7 @@
// Control of the reserved memory can be assigned to another VirtualMemory
// object by assignment or copy-contructing. This removes the reserved memory
// from the original object.
-class V8_BASE_EXPORT VirtualMemory {
+class VirtualMemory {
public:
// Empty VirtualMemory object, controlling no reserved memory.
VirtualMemory();
@@ -419,7 +418,7 @@
// thread. The Thread object should not be deallocated before the thread has
// terminated.
-class V8_BASE_EXPORT Thread {
+class Thread {
public:
// Opaque data type for thread-local storage keys.
typedef int32_t LocalStorageKey;
« no previous file with comments | « src/base/platform/mutex.h ('k') | src/base/platform/semaphore.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698