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

Unified Diff: content/common/net/url_request_devtools_user_data.cc

Issue 2776523005: Plumbing devtools agent host id and request id between processes (Closed)
Patch Set: Rebased Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/net/url_request_devtools_user_data.h ('k') | content/common/resource_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/net/url_request_devtools_user_data.cc
diff --git a/content/common/net/url_request_devtools_user_data.cc b/content/common/net/url_request_devtools_user_data.cc
new file mode 100644
index 0000000000000000000000000000000000000000..5fb0a0d98b756e00ba5c67d8fdfb055bfa3505f2
--- /dev/null
+++ b/content/common/net/url_request_devtools_user_data.cc
@@ -0,0 +1,22 @@
+// Copyright 2017 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/common/net/url_request_devtools_user_data.h"
+
+namespace content {
+
+URLRequestDevtoolsUserData::URLRequestDevtoolsUserData(
+ const std::string& devtools_agent_host_id,
+ const std::string& devtools_request_id)
+ : devtools_agent_host_id_(devtools_agent_host_id),
+ devtools_request_id_(devtools_request_id),
+ is_redirect_(false) {}
+
+URLRequestDevtoolsUserData::~URLRequestDevtoolsUserData() {}
+
+// static
+const void* URLRequestDevtoolsUserData::kUserDataKey =
+ static_cast<const void*>(&URLRequestDevtoolsUserData::kUserDataKey);
+
+} // namespace content
« no previous file with comments | « content/common/net/url_request_devtools_user_data.h ('k') | content/common/resource_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698