OLD | NEW |
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/network_handler.h" | 5 #include "content/browser/devtools/protocol/network_handler.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/containers/hash_tables.h" | 9 #include "base/containers/hash_tables.h" |
8 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
9 #include "base/time/time.h" | 11 #include "base/time/time.h" |
10 #include "content/browser/frame_host/frame_tree_node.h" | 12 #include "content/browser/frame_host/frame_tree_node.h" |
11 #include "content/browser/frame_host/render_frame_host_impl.h" | 13 #include "content/browser/frame_host/render_frame_host_impl.h" |
12 #include "content/public/browser/browser_context.h" | 14 #include "content/public/browser/browser_context.h" |
13 #include "content/public/browser/browser_thread.h" | 15 #include "content/public/browser/browser_thread.h" |
14 #include "content/public/browser/cert_store.h" | 16 #include "content/public/browser/cert_store.h" |
15 #include "content/public/browser/content_browser_client.h" | 17 #include "content/public/browser/content_browser_client.h" |
16 #include "content/public/browser/resource_context.h" | 18 #include "content/public/browser/resource_context.h" |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 return Response::InternalError("Could not connect to view"); | 320 return Response::InternalError("Could not connect to view"); |
319 WebContents* web_contents = WebContents::FromRenderFrameHost(host_); | 321 WebContents* web_contents = WebContents::FromRenderFrameHost(host_); |
320 web_contents->GetDelegate()->ShowCertificateViewerInDevTools( | 322 web_contents->GetDelegate()->ShowCertificateViewerInDevTools( |
321 web_contents, certificate_id); | 323 web_contents, certificate_id); |
322 return Response::OK(); | 324 return Response::OK(); |
323 } | 325 } |
324 | 326 |
325 } // namespace network | 327 } // namespace network |
326 } // namespace devtools | 328 } // namespace devtools |
327 } // namespace content | 329 } // namespace content |
OLD | NEW |