Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4972)

Unified Diff: chrome/browser/component_updater/component_updater_utils.h

Issue 118703008: Merge 241734 "Added support for multiple urls in the component u..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1750/src/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698