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

Unified Diff: content/browser/shared_worker/shared_worker_instance.cc

Issue 223583002: Revert of Make DevTools support for the embedded SharedWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/browser/shared_worker/shared_worker_instance.cc
diff --git a/content/browser/shared_worker/shared_worker_instance.cc b/content/browser/shared_worker/shared_worker_instance.cc
index a4965a55085e323fbc12ceddbe838a5c60779448..506626a54e17612e99d78c734fbb038e42cdc27e 100644
--- a/content/browser/shared_worker/shared_worker_instance.cc
+++ b/content/browser/shared_worker/shared_worker_instance.cc
@@ -24,15 +24,8 @@
DCHECK(resource_context_);
}
-SharedWorkerInstance::SharedWorkerInstance(const SharedWorkerInstance& other)
- : url_(other.url_),
- name_(other.name_),
- content_security_policy_(other.content_security_policy_),
- security_policy_type_(other.security_policy_type_),
- resource_context_(other.resource_context_),
- partition_(other.partition_) {}
-
-SharedWorkerInstance::~SharedWorkerInstance() {}
+SharedWorkerInstance::~SharedWorkerInstance() {
+}
bool SharedWorkerInstance::Matches(const GURL& match_url,
const base::string16& match_name,
@@ -57,9 +50,4 @@
return name_ == match_name;
}
-bool SharedWorkerInstance::Matches(const SharedWorkerInstance& other) const {
- return Matches(
- other.url(), other.name(), other.partition(), other.resource_context());
-}
-
} // namespace content
« no previous file with comments | « content/browser/shared_worker/shared_worker_instance.h ('k') | content/browser/shared_worker/shared_worker_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698