diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-22 19:27:56 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-22 19:27:56 +0000 |
commit | 91c394a8ab7a4a3acd1721ccc314498f0f726c8f (patch) | |
tree | 5b6fb9aa84bb2654b2655b528d3887699d30fb9a /chrome/browser/extensions/user_script_master.h | |
parent | f1cbc4644f1c41954e5f3562d723a471139ff465 (diff) | |
download | chromium_src-91c394a8ab7a4a3acd1721ccc314498f0f726c8f.zip chromium_src-91c394a8ab7a4a3acd1721ccc314498f0f726c8f.tar.gz chromium_src-91c394a8ab7a4a3acd1721ccc314498f0f726c8f.tar.bz2 |
Parse more user script info out of the manifest and expose
it on the Extension class.
Removed Extension::CopyToValue() because it was only being
used in unit tests.
Centralize functions for creation of absolute URLs and
paths to extension resources in Extension class and move
corresponding unit tests.
Various other minor nitpickery.
Review URL: http://codereview.chromium.org/18352
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8486 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/user_script_master.h')
-rw-r--r-- | chrome/browser/extensions/user_script_master.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/extensions/user_script_master.h b/chrome/browser/extensions/user_script_master.h index 8df49be..5167a65 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. |