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

Unified Diff: net/cert/internal/name_constraints.h

Issue 2353333003: Rename CreateFromDer() to Create(). (Closed)
Patch Set: rebase Created 4 years, 3 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
« no previous file with comments | « no previous file | net/cert/internal/name_constraints.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/name_constraints.h
diff --git a/net/cert/internal/name_constraints.h b/net/cert/internal/name_constraints.h
index ccf4ac12b740354f0c1c57aeacd76d7a65b29c51..966c9f3fd3075ae5f92489bf35d689633afac050 100644
--- a/net/cert/internal/name_constraints.h
+++ b/net/cert/internal/name_constraints.h
@@ -48,7 +48,7 @@ struct NET_EXPORT GeneralNames {
// Create a GeneralNames object representing the DER-encoded
// |general_names_tlv|.
- static std::unique_ptr<GeneralNames> CreateFromDer(
+ static std::unique_ptr<GeneralNames> Create(
const der::Input& general_names_tlv);
// ASCII hostnames.
@@ -84,7 +84,7 @@ class NET_EXPORT NameConstraints {
// the OCTET STRING tag). |is_critical| should be true if the extension was
// marked critical. Returns nullptr if parsing the the extension failed.
// The object lifetime is not bound to the lifetime of |extension_value| data.
- static std::unique_ptr<NameConstraints> CreateFromDer(
+ static std::unique_ptr<NameConstraints> Create(
const der::Input& extension_value,
bool is_critical);
« no previous file with comments | « no previous file | net/cert/internal/name_constraints.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698