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

Unified Diff: third_party/WebKit/Source/platform/inspector_protocol/DispatcherBase_h.template

Issue 2238423002: [DevTools] Generate all files in inspector_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2240663003
Patch Set: Created 4 years, 4 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: 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*);

Powered by Google App Engine
This is Rietveld 408576698