| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "chrome/browser/devtools/devtools_embedder_message_dispatcher.h" | 5 #include "chrome/browser/devtools/devtools_embedder_message_dispatcher.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/values.h" | 8 #include "base/values.h" |
| 9 | 9 |
| 10 namespace { | 10 namespace { |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 d->RegisterHandlerWithCallback("sendJsonRequest", | 204 d->RegisterHandlerWithCallback("sendJsonRequest", |
| 205 &Delegate::SendJsonRequest, delegate); | 205 &Delegate::SendJsonRequest, delegate); |
| 206 d->RegisterHandlerWithCallback("getPreferences", | 206 d->RegisterHandlerWithCallback("getPreferences", |
| 207 &Delegate::GetPreferences, delegate); | 207 &Delegate::GetPreferences, delegate); |
| 208 d->RegisterHandler("setPreference", | 208 d->RegisterHandler("setPreference", |
| 209 &Delegate::SetPreference, delegate); | 209 &Delegate::SetPreference, delegate); |
| 210 d->RegisterHandler("removePreference", | 210 d->RegisterHandler("removePreference", |
| 211 &Delegate::RemovePreference, delegate); | 211 &Delegate::RemovePreference, delegate); |
| 212 d->RegisterHandler("clearPreferences", | 212 d->RegisterHandler("clearPreferences", |
| 213 &Delegate::ClearPreferences, delegate); | 213 &Delegate::ClearPreferences, delegate); |
| 214 d->RegisterHandlerWithCallback("reattach", |
| 215 &Delegate::Reattach, delegate); |
| 214 d->RegisterHandler("readyForTest", | 216 d->RegisterHandler("readyForTest", |
| 215 &Delegate::ReadyForTest, delegate); | 217 &Delegate::ReadyForTest, delegate); |
| 216 return d; | 218 return d; |
| 217 } | 219 } |
| OLD | NEW |