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

Side by Side Diff: third_party/WebKit/Source/platform/inspector_protocol/DispatcherBase_cpp.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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "platform/inspector_protocol/DispatcherBase.h"
6
7 #include "platform/inspector_protocol/FrontendChannel.h"
8 #include "platform/inspector_protocol/Parser.h"
9
10 namespace blink { 5 namespace blink {
11 namespace protocol { 6 namespace protocol {
12 7
13 // static 8 // static
14 const char DispatcherBase::kInvalidRequest[] = "Invalid request"; 9 const char DispatcherBase::kInvalidRequest[] = "Invalid request";
15 10
16 DispatcherBase::WeakPtr::WeakPtr(DispatcherBase* dispatcher) : m_dispatcher(disp atcher) { } 11 DispatcherBase::WeakPtr::WeakPtr(DispatcherBase* dispatcher) : m_dispatcher(disp atcher) { }
17 12
18 DispatcherBase::WeakPtr::~WeakPtr() 13 DispatcherBase::WeakPtr::~WeakPtr()
19 { 14 {
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 reportProtocolError(m_frontendChannel, callId, DispatcherBase::MethodNot Found, "'" + method + "' wasn't found", nullptr); 159 reportProtocolError(m_frontendChannel, callId, DispatcherBase::MethodNot Found, "'" + method + "' wasn't found", nullptr);
165 return; 160 return;
166 } 161 }
167 it->second->dispatch(callId, method, std::move(messageObject)); 162 it->second->dispatch(callId, method, std::move(messageObject));
168 } 163 }
169 164
170 UberDispatcher::~UberDispatcher() = default; 165 UberDispatcher::~UberDispatcher() = default;
171 166
172 } // namespace protocol 167 } // namespace protocol
173 } // namespace blink 168 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698