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

Unified Diff: chrome/common/extensions/extension_messages.h

Issue 8827013: Move/replace/rename URL-based extension getters from ExtensionService to/in ExtensionSet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: origins Created 9 years 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: chrome/common/extensions/extension_messages.h
diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h
index 0d4f1b8c9a2424de9e2f757e3b3fc2abfbb02ddf..a3f38f9ffa0fb711eb6d27b42056e3b626f19e28 100644
--- a/chrome/common/extensions/extension_messages.h
+++ b/chrome/common/extensions/extension_messages.h
@@ -33,9 +33,12 @@ IPC_STRUCT_BEGIN(ExtensionHostMsg_Request_Params)
// URL of the frame the request was sent from. This isn't necessarily an
// extension url. Extension requests can also originate from content scripts,
// in which case extension_id will indicate the ID of the associated
- // extension. Or, they can origiante from hosted apps or normal web pages.
+ // extension. Or, they can originate from hosted apps or normal web pages.
IPC_STRUCT_MEMBER(GURL, source_url)
+ // Web security origin of the frame the request was sent from.
+ IPC_STRUCT_MEMBER(string16, origin)
+
// Unique request id to match requests and responses.
IPC_STRUCT_MEMBER(int, request_id)

Powered by Google App Engine
This is Rietveld 408576698