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

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

Issue 196503005: Make DevTools support for the embedded SharedWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: http://crrev.com/214343002 has landed. So I rebased. 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.h
diff --git a/content/browser/shared_worker/shared_worker_instance.h b/content/browser/shared_worker/shared_worker_instance.h
index 0d613167d462d6b524b3725bce33cc1c8745c572..5ebb5863d43a1276f21179b3de678199ecaf99d8 100644
--- a/content/browser/shared_worker/shared_worker_instance.h
+++ b/content/browser/shared_worker/shared_worker_instance.h
@@ -24,6 +24,7 @@ class CONTENT_EXPORT SharedWorkerInstance {
blink::WebContentSecurityPolicyType security_policy_type,
ResourceContext* resource_context,
const WorkerStoragePartition& partition);
+ SharedWorkerInstance(const SharedWorkerInstance& other);
~SharedWorkerInstance();
// Checks if this SharedWorkerInstance matches the passed url/name params
@@ -37,6 +38,7 @@ class CONTENT_EXPORT SharedWorkerInstance {
const base::string16& name,
const WorkerStoragePartition& partition,
ResourceContext* resource_context) const;
+ bool Matches(const SharedWorkerInstance& other) const;
// Accessors.
const GURL& url() const { return url_; }

Powered by Google App Engine
This is Rietveld 408576698