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

Side by Side Diff: content/browser/devtools/protocol/inspector_handler.cc

Issue 738373002: [DevTools] Used generated inspector protocol handler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/browser/devtools/protocol/inspector_handler.h" 5 #include "content/browser/devtools/protocol/inspector_handler.h"
6 6
7 namespace content { 7 namespace content {
8 namespace devtools { 8 namespace devtools {
9 namespace inspector { 9 namespace inspector {
10 10
11 InspectorHandler::InspectorHandler() { 11 InspectorHandler::InspectorHandler() {
12 } 12 }
13 13
14 InspectorHandler::~InspectorHandler() { 14 InspectorHandler::~InspectorHandler() {
15 } 15 }
16 16
17 void InspectorHandler::SetClient(scoped_ptr<Client> client) { 17 void InspectorHandler::SetClient(scoped_ptr<Client> client) {
18 client_.swap(client); 18 client_.swap(client);
19 } 19 }
20 20
21 void InspectorHandler::TargetCrashed() {
22 client_->TargetCrashed(TargetCrashedParams::Create());
23 }
24
21 } // namespace inspector 25 } // namespace inspector
22 } // namespace devtools 26 } // namespace devtools
23 } // namespace content 27 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/devtools/protocol/inspector_handler.h ('k') | content/browser/devtools/render_view_devtools_agent_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698