| Index: chrome/browser/component_updater/component_updater_utils.h
|
| ===================================================================
|
| --- chrome/browser/component_updater/component_updater_utils.h (revision 242136)
|
| +++ chrome/browser/component_updater/component_updater_utils.h (working copy)
|
| @@ -21,6 +21,8 @@
|
|
|
| namespace component_updater {
|
|
|
| +struct CrxUpdateItem;
|
| +
|
| // An update protocol request starts with a common preamble which includes
|
| // version and platform information for Chrome and the operating system,
|
| // followed by a request body, which is the actual payload of the request.
|
| @@ -60,6 +62,9 @@
|
| // fetch is pending or canceled.
|
| int GetFetchError(const net::URLFetcher& fetcher);
|
|
|
| +// Returns true if the |update_item| contains a valid differential update url.
|
| +bool HasDiffUpdate(const CrxUpdateItem* update_item);
|
| +
|
| // Returns true if the |status_code| represents a server error 5xx.
|
| bool IsHttpServerError(int status_code);
|
|
|
|
|