summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extensions_service.h
diff options
context:
space:
mode:
authormpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 19:02:19 +0000
committermpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 19:02:19 +0000
commit902f7cd528743a286439cfca87266aa1b723a8bf (patch)
tree986e45ef007fba1dd21436bcf1a00470ca6ae1e4 /chrome/browser/extensions/extensions_service.h
parent5be94dffc6b19e0ed8397879ad60fe06e498cb3a (diff)
downloadchromium_src-902f7cd528743a286439cfca87266aa1b723a8bf.zip
chromium_src-902f7cd528743a286439cfca87266aa1b723a8bf.tar.gz
chromium_src-902f7cd528743a286439cfca87266aa1b723a8bf.tar.bz2
Have the browser process rewrite manifest.json and theme/page action images
that the extension unpacker process parsed. BUG=11680 Review URL: http://codereview.chromium.org/115595 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16768 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extensions_service.h')
-rw-r--r--chrome/browser/extensions/extensions_service.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/chrome/browser/extensions/extensions_service.h b/chrome/browser/extensions/extensions_service.h
index 47abcbd..56bebee 100644
--- a/chrome/browser/extensions/extensions_service.h
+++ b/chrome/browser/extensions/extensions_service.h
@@ -22,6 +22,7 @@ class GURL;
class PrefService;
class Profile;
class ResourceDispatcherHost;
+class SkBitmap;
class SiteInstance;
class UserScriptMaster;
typedef std::vector<Extension*> ExtensionList;
@@ -171,10 +172,15 @@ class ExtensionsServiceBackend
// Finish installing an extension after it has been unpacked to
// |temp_extension_dir| by our utility process. If |expected_id| is not
// empty, it's verified against the extension's manifest before installation.
- void OnExtensionUnpacked(const FilePath& extension_path,
- const FilePath& temp_extension_dir,
- const std::string expected_id,
- bool from_external);
+ // |manifest| and |images| are parsed information from the extension that
+ // we want to write to disk in the browser process.
+ void OnExtensionUnpacked(
+ const FilePath& extension_path,
+ const FilePath& temp_extension_dir,
+ const std::string expected_id,
+ bool from_external,
+ const DictionaryValue& manifest,
+ const std::vector< Tuple2<SkBitmap, FilePath> >& images);
// Notify the frontend that there was an error loading an extension.
void ReportExtensionLoadError(const FilePath& extension_path,