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

Unified Diff: net/tools/transport_security_state_generator/preloaded_state_generator.h

Issue 2681733008: Improve error handling of the transport security state generator. (Closed)
Patch Set: Remove ErrorList Created 3 years, 10 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: net/tools/transport_security_state_generator/preloaded_state_generator.h
diff --git a/net/tools/transport_security_state_generator/preloaded_state_generator.h b/net/tools/transport_security_state_generator/preloaded_state_generator.h
index 562c4f38ead297ff708d356b45a4399568cb1dad..f6b157315bf0f16bb82d0ad009977227a7344027 100644
--- a/net/tools/transport_security_state_generator/preloaded_state_generator.h
+++ b/net/tools/transport_security_state_generator/preloaded_state_generator.h
@@ -28,11 +28,11 @@ class PreloadedStateGenerator {
PreloadedStateGenerator();
~PreloadedStateGenerator();
+ // Returns the generated C++ code on success and the empty string on failure.
std::string Generate(const std::string& preload_template,
const TransportSecurityStateEntries& entries,
const DomainIDList& domain_ids,
- const Pinsets& pinsets,
- bool verbose);
+ const Pinsets& pinsets);
private:
// TODO(Martijnc): Remove the domain IDs from the preload format.

Powered by Google App Engine
This is Rietveld 408576698