Index: components/update_client/utils.h |
diff --git a/components/update_client/utils.h b/components/update_client/utils.h |
index 1c9e7414541829975c1af8c6bd2d79af1856d79e..2ab10b4664b98525972bcf4ac9d3d878689f7843 100644 |
--- a/components/update_client/utils.h |
+++ b/components/update_client/utils.h |
@@ -28,8 +28,8 @@ class URLRequestContextGetter; |
namespace update_client { |
+class Component; |
struct CrxComponent; |
-struct CrxUpdateItem; |
// Defines a name-value pair that represents an installer attribute. |
// Installer attributes are component-specific metadata, which may be serialized |
@@ -89,8 +89,8 @@ bool FetchSuccess(const net::URLFetcher& fetcher); |
// 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 |component| contains a valid differential update url. |
+bool HasDiffUpdate(const Component& component); |
// Returns true if the |status_code| represents a server error 5xx. |
bool IsHttpServerError(int status_code); |