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

Unified Diff: components/update_client/utils.h

Issue 1740333002: Allow fallback from https to http for component update checks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for 0u literal. Created 4 years, 8 months 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: components/update_client/utils.h
diff --git a/components/update_client/utils.h b/components/update_client/utils.h
index bd428cafabdd441453c84334c7597c4c56d196d4..af353f76d67634f33c7aac80d9d7c0bf357c574d 100644
--- a/components/update_client/utils.h
+++ b/components/update_client/utils.h
@@ -6,6 +6,7 @@
#define COMPONENTS_UPDATE_CLIENT_UTILS_H_
#include <string>
+#include <vector>
#include "base/memory/scoped_ptr.h"
@@ -98,6 +99,9 @@ bool VerifyFileHash256(const base::FilePath& filepath,
// Returns true if the |brand| parameter matches ^([a-zA-Z]{4})?$ .
bool IsValidBrand(const std::string& brand);
+// Removes the unsecure urls in the |urls| parameter.
+void RemoveUnsecureUrls(std::vector<GURL>* urls);
+
} // namespace update_client
#endif // COMPONENTS_UPDATE_CLIENT_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698