summaryrefslogtreecommitdiffstats
path: root/extensions/browser/updater/safe_manifest_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/browser/updater/safe_manifest_parser.h')
-rw-r--r--extensions/browser/updater/safe_manifest_parser.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/extensions/browser/updater/safe_manifest_parser.h b/extensions/browser/updater/safe_manifest_parser.h
index 3215fa3..9f31ab6 100644
--- a/extensions/browser/updater/safe_manifest_parser.h
+++ b/extensions/browser/updater/safe_manifest_parser.h
@@ -20,13 +20,10 @@ namespace extensions {
class SafeManifestParser : public content::UtilityProcessHostClient {
public:
// Callback that is invoked when the manifest results are ready.
- typedef base::Callback<void(const ManifestFetchData&,
- const UpdateManifest::Results*)> UpdateCallback;
+ typedef base::Callback<void(const UpdateManifest::Results*)> ResultsCallback;
- // Takes ownership of |fetch_data|.
SafeManifestParser(const std::string& xml,
- ManifestFetchData* fetch_data,
- const UpdateCallback& update_callback);
+ const ResultsCallback& results_callback);
// Posts a task over to the IO loop to start the parsing of xml_ in a
// utility process.
@@ -47,8 +44,7 @@ class SafeManifestParser : public content::UtilityProcessHostClient {
const std::string xml_;
// Should be accessed only on UI thread.
- scoped_ptr<ManifestFetchData> fetch_data_;
- UpdateCallback update_callback_;
+ ResultsCallback results_callback_;
DISALLOW_COPY_AND_ASSIGN(SafeManifestParser);
};