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

Unified Diff: net/tools/domain_security_preload_generator/pinsets.cc

Issue 2632073002: Rename domain_security_preload_generator. (Closed)
Patch Set: rebase & comment rsleevi Created 3 years, 11 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/domain_security_preload_generator/pinsets.cc
diff --git a/net/tools/domain_security_preload_generator/pinsets.cc b/net/tools/domain_security_preload_generator/pinsets.cc
deleted file mode 100644
index a22dd62cd403b6117e869817fb6b0dfa47a81579..0000000000000000000000000000000000000000
--- a/net/tools/domain_security_preload_generator/pinsets.cc
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "net/tools/domain_security_preload_generator/pinsets.h"
-
-#include "net/tools/domain_security_preload_generator/spki_hash.h"
-
-namespace net {
-
-namespace transport_security_state {
-
-Pinsets::Pinsets() {}
-
-Pinsets::~Pinsets() {}
-
-void Pinsets::RegisterSPKIHash(base::StringPiece name, const SPKIHash& hash) {
- spki_hashes_.insert(std::pair<std::string, SPKIHash>(name.as_string(), hash));
-}
-
-void Pinsets::RegisterPinset(std::unique_ptr<Pinset> pinset) {
- pinsets_.insert(std::pair<std::string, std::unique_ptr<Pinset>>(
- pinset->name(), std::move(pinset)));
-}
-
-} // namespace transport_security_state
-
-} // namespace net

Powered by Google App Engine
This is Rietveld 408576698