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

Side by Side Diff: content/browser/devtools/network_domain_handler.cc

Issue 508973003: DevTools: Protocol handler generator for content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "content/browser/devtools/network_domain_handler.h"
6
7 namespace content {
8 namespace devtools {
9
10 typedef DevToolsProtocolFrontend::Response Response;
11 typedef DevToolsProtocolFrontend::ResponseStatus ResponseStatus;
12
13 NetworkDomainHandler::NetworkDomainHandler() {
14 }
15
16 NetworkDomainHandler::~NetworkDomainHandler() {
17 }
18
19 void NetworkDomainHandler::OnClientDetached() {
20 }
21
22 void NetworkDomainHandler::SetRenderViewHost(RenderViewHostImpl* host) {
23 }
24
25 Response NetworkDomainHandler::ClearBrowserCache() {
26 return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
27 }
28
29 Response NetworkDomainHandler::ClearBrowserCookies() {
30 return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
31 }
32
33 Response NetworkDomainHandler::CanEmulateNetworkConditions(bool* result) {
34 return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
35 }
36
37 Response NetworkDomainHandler::EmulateNetworkConditions(
38 bool offline,
39 double latency,
40 double download_throughput,
41 double upload_throughput) {
42 return Response(ResponseStatus::RESPONSE_STATUS_FALLTHROUGH, "");
43 }
44
45 } // namespace devtools
46 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698