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

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

Issue 2660793002: Add transport security state generator tests. (Closed)
Patch Set: export method for tests 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..f3626ad0736b6fc0b9b1acd4135798e2be7d04a5 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();
- std::string Generate(const std::string& preload_template,
- const TransportSecurityStateEntries& entries,
- const DomainIDList& domain_ids,
- const Pinsets& pinsets,
- bool verbose);
+ bool Generate(const std::string& preload_template,
+ const TransportSecurityStateEntries& entries,
+ const DomainIDList& domain_ids,
+ const Pinsets& pinsets,
+ std::string* output);
private:
// TODO(Martijnc): Remove the domain IDs from the preload format.

Powered by Google App Engine
This is Rietveld 408576698