Chromium Code Reviews| 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 ff01c8975574e9eaebf9fd8343ca25b683079444..c7a135389740684fccf4a7782ddf20ce5371f6d9 100644 |
| --- a/chrome/browser/component_updater/component_updater_service.h |
| +++ b/chrome/browser/component_updater/component_updater_service.h |
| @@ -38,7 +38,7 @@ class OnDemandUpdater; |
| // given to ComponentUpdateService::RegisterComponent(). |
| class ComponentInstaller { |
| public: |
| - // Called by the component updater on the UI thread when there was a |
| + // Called by the component updater on the main thread when there was a |
| // problem unpacking or verifying the component. |error| is a non-zero |
| // value which is only meaningful to the component updater. |
| virtual void OnUpdateError(int error) = 0; |
| @@ -46,7 +46,7 @@ class ComponentInstaller { |
| // Called by the component updater when a component has been unpacked |
| // and is ready to be installed. |manifest| contains the CRX manifest |
| // json dictionary and |unpack_path| contains the temporary directory |
| - // with all the unpacked CRX files. |
| + // with all the unpacked CRX files. This method is called from a task runner. |
|
blundell
2014/07/15 08:45:20
"from a task runner" is not particularly informati
tommycli
2014/07/15 18:58:25
Done.
|
| virtual bool Install(const base::DictionaryValue& manifest, |
| const base::FilePath& unpack_path) = 0; |
| @@ -96,7 +96,7 @@ struct CrxUpdateItem; |
| // notifications are fired, like COMPONENT_UPDATER_STARTED and |
| // COMPONENT_UPDATE_FOUND. See notification_type.h for more details. |
| // |
| -// All methods are safe to call ONLY from chrome's UI thread. |
| +// All methods are safe to call ONLY from the browser's main thread. |
| class ComponentUpdateService { |
| public: |
| enum Status { kOk, kReplaced, kInProgress, kError }; |