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

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: Full plumbing Created 3 years, 9 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
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..832b654a9e1e04b9b4ba53d88401af63787730de
--- /dev/null
+++ b/content/common/net/url_request_devtools_user_data.cc
@@ -0,0 +1,22 @@
+// Copyright (c) 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

Powered by Google App Engine
This is Rietveld 408576698