Index: third_party/WebKit/Source/platform/inspector_protocol/DispatcherBase_h.template |
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/DispatcherBase.h b/third_party/WebKit/Source/platform/inspector_protocol/DispatcherBase_h.template |
similarity index 83% |
rename from third_party/WebKit/Source/platform/inspector_protocol/DispatcherBase.h |
rename to third_party/WebKit/Source/platform/inspector_protocol/DispatcherBase_h.template |
index 6e8ae28f9e5f0d871216f5035da89edf563fcdce..76b7958f42967a3ccd21b454f0dba1c01bd25b5b 100644 |
--- a/third_party/WebKit/Source/platform/inspector_protocol/DispatcherBase.h |
+++ b/third_party/WebKit/Source/platform/inspector_protocol/DispatcherBase_h.template |
@@ -5,12 +5,13 @@ |
#ifndef DispatcherBase_h |
#define DispatcherBase_h |
-#include "platform/inspector_protocol/BackendCallback.h" |
-#include "platform/inspector_protocol/Collections.h" |
-#include "platform/inspector_protocol/ErrorSupport.h" |
-#include "platform/inspector_protocol/Platform.h" |
-#include "platform/inspector_protocol/String16.h" |
-#include "platform/inspector_protocol/Values.h" |
+//#include "BackendCallback.h" |
+//#include "Collections.h" |
+//#include "ErrorSupport.h" |
+//#include "Platform.h" |
+//#include "String16.h" |
+//#include "Values.h" |
+#include "{{export_macro_include}}" |
namespace blink { |
namespace protocol { |
@@ -18,11 +19,11 @@ namespace protocol { |
class FrontendChannel; |
class WeakPtr; |
-class PLATFORM_EXPORT DispatcherBase { |
+class {{export_macro}} DispatcherBase { |
PROTOCOL_DISALLOW_COPY(DispatcherBase); |
public: |
static const char kInvalidRequest[]; |
- class PLATFORM_EXPORT WeakPtr { |
+ class {{export_macro}} WeakPtr { |
public: |
explicit WeakPtr(DispatcherBase*); |
~WeakPtr(); |
@@ -33,7 +34,7 @@ public: |
DispatcherBase* m_dispatcher; |
}; |
- class PLATFORM_EXPORT Callback : public protocol::BackendCallback { |
+ class {{export_macro}} Callback : public protocol::BackendCallback { |
public: |
Callback(std::unique_ptr<WeakPtr> backendImpl, int callId); |
virtual ~Callback(); |
@@ -77,7 +78,7 @@ private: |
protocol::HashSet<WeakPtr*> m_weakPtrs; |
}; |
-class PLATFORM_EXPORT UberDispatcher { |
+class {{export_macro}} UberDispatcher { |
PROTOCOL_DISALLOW_COPY(UberDispatcher); |
public: |
explicit UberDispatcher(FrontendChannel*); |