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

Unified Diff: extensions/browser/api/web_request/web_request_event_details.h

Issue 2335133003: PlzNavigate: support the WebRequest API (Closed)
Patch Set: Rebase + addressed nit Created 4 years, 3 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: extensions/browser/api/web_request/web_request_event_details.h
diff --git a/extensions/browser/api/web_request/web_request_event_details.h b/extensions/browser/api/web_request/web_request_event_details.h
index 200e28e5a3abeafa63c0e09ece8ba33afdd76909..9bc73d15eebcf29985549fa909decb247c7fe28a 100644
--- a/extensions/browser/api/web_request/web_request_event_details.h
+++ b/extensions/browser/api/web_request/web_request_event_details.h
@@ -88,6 +88,12 @@ class WebRequestEventDetails {
dict_.SetString(key, value);
}
+ // Sets the following keys using the value provided.
+ // - tabId
+ // - frameId
+ // - parentFrameId
+ void SetFrameData(const ExtensionApiFrameIdMap::FrameData& frame_data);
+
// Sets the following keys using information from constructor.
// - tabId
// - frameId
« no previous file with comments | « extensions/browser/api/web_request/web_request_api.cc ('k') | extensions/browser/api/web_request/web_request_event_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698