summaryrefslogtreecommitdiffstats
path: root/content/browser/devtools/protocol/inspector_handler.cc
blob: 8378e5a1e2aa82f4ea5bac3d6525c7d46cf8b87a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/browser/devtools/protocol/inspector_handler.h"

namespace content {
namespace devtools {
namespace inspector {

InspectorHandler::InspectorHandler() {
}

InspectorHandler::~InspectorHandler() {
}

void InspectorHandler::SetClient(scoped_ptr<Client> client) {
  client_.swap(client);
}

void InspectorHandler::TargetCrashed() {
  client_->TargetCrashed(TargetCrashedParams::Create());
}

}  // namespace inspector
}  // namespace devtools
}  // namespace content