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

Unified Diff: chrome/browser/extensions/user_script_master.h

Issue 18352: Miscellaneous changes to Extension class in prep for user scripts (Closed)
Patch Set: be more paranoid about accessing string indexes than is probably warranted Created 11 years, 11 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: chrome/browser/extensions/user_script_master.h
diff --git a/chrome/browser/extensions/user_script_master.h b/chrome/browser/extensions/user_script_master.h
index 8df49be20e55f2511a2d1c5eb297098fae92b567..5167a65d4d1109f561142d88f9e600a0cf7e0a75 100644
--- a/chrome/browser/extensions/user_script_master.h
+++ b/chrome/browser/extensions/user_script_master.h
@@ -12,6 +12,14 @@
#include "base/scoped_ptr.h"
#include "base/shared_memory.h"
#include "base/string_piece.h"
+#include "googleurl/src/gurl.h"
+
+struct UserScriptInfo {
+ GURL url;
+ FilePath path;
+ std::vector<std::string> matches;
+};
+typedef std::vector<UserScriptInfo> UserScriptList;
// Manages a segment of shared memory that contains the user scripts the user
// has installed. Lives on the UI thread.
« no previous file with comments | « chrome/browser/extensions/extensions_service_unittest.cc ('k') | chrome/test/data/extensions/extension1/manifest » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698