Index: chrome/browser/extensions/webstore_data_fetcher_delegate.h |
diff --git a/chrome/browser/extensions/webstore_data_fetcher_delegate.h b/chrome/browser/extensions/webstore_data_fetcher_delegate.h |
index 6cff9c2e4b9e5ea83dd7c083fb1a549faa509d53..eacb13eac297a77a6cf9537db78be064a30728d9 100644 |
--- a/chrome/browser/extensions/webstore_data_fetcher_delegate.h |
+++ b/chrome/browser/extensions/webstore_data_fetcher_delegate.h |
@@ -7,6 +7,8 @@ |
#include <string> |
+#include "base/memory/scoped_ptr.h" |
+ |
namespace base { |
class DictionaryValue; |
} |
@@ -21,7 +23,7 @@ class WebstoreDataFetcherDelegate { |
// Invoked when the web store response parsing is successful. Delegate takes |
// ownership of |webstore_data|. |
virtual void OnWebstoreResponseParseSuccess( |
- base::DictionaryValue* webstore_data) = 0; |
+ scoped_ptr<base::DictionaryValue> webstore_data) = 0; |
// Invoked when the web store response parsing is failed. |
virtual void OnWebstoreResponseParseFailure(const std::string& error) = 0; |