| Index: chrome/browser/component_updater/component_updater_service.h
|
| diff --git a/chrome/browser/component_updater/component_updater_service.h b/chrome/browser/component_updater/component_updater_service.h
|
| index fe77d4e4927b7ca3f0f76a3e1548b57ffe58b460..2f2fca631c203e8554c9efd5c0cb7ed357f0a065 100644
|
| --- a/chrome/browser/component_updater/component_updater_service.h
|
| +++ b/chrome/browser/component_updater/component_updater_service.h
|
| @@ -207,10 +207,10 @@ class ComponentUpdateService {
|
| virtual ~ComponentUpdateService() {}
|
|
|
| private:
|
| - // Returns details about registered component. The object returned is owned
|
| - // by this class. TODO(sorin): replace with a WeakPtr.
|
| - virtual CrxUpdateItem* GetComponentDetails(
|
| - const std::string& component_id) const = 0;
|
| + // Returns details about registered component in the |item| parameter. The
|
| + // function returns true in case of success and false in case of errors.
|
| + virtual bool GetComponentDetails(const std::string& component_id,
|
| + CrxUpdateItem* item) const = 0;
|
|
|
| friend class ::ComponentsUI;
|
| FRIEND_TEST_ALL_PREFIXES(ComponentUpdaterTest, ResourceThrottleLiveNoUpdate);
|
|
|