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

Unified Diff: content/browser/service_worker/service_worker_context_wrapper.h

Issue 2958333002: [Payments] Implement web payment app manifest (Closed)
Patch Set: rename and comments Created 3 years, 5 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/service_worker/service_worker_context_wrapper.h
diff --git a/content/browser/service_worker/service_worker_context_wrapper.h b/content/browser/service_worker/service_worker_context_wrapper.h
index aea3fae166b4ec03616324ec1fecdec7f84953cd..71f341dc2bc21ad69c88de713a454cc71c469483 100644
--- a/content/browser/service_worker/service_worker_context_wrapper.h
+++ b/content/browser/service_worker/service_worker_context_wrapper.h
@@ -135,6 +135,11 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
void HasMainFrameProviderHost(const GURL& origin,
const BoolCallback& callback) const;
+ // Returns all render process ids and frame ids for the given |origin|.
+ std::unique_ptr<
+ std::vector<std::pair<int /* render process id */, int /* frame id */>>>
+ GetProviderHostIds(const GURL& origin) const;
+
// Returns the registration whose scope longest matches |document_url|. It is
// guaranteed that the returned registration has the activated worker.
//
« no previous file with comments | « content/browser/payments/payment_manager_unittest.cc ('k') | content/browser/service_worker/service_worker_context_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698