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

Unified Diff: chrome/browser/net/sth_distributor_provider.h

Issue 2014573002: Certificate Transparency: Wire the TreeStateTracker up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merging with master Created 4 years, 7 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: chrome/browser/net/sth_distributor_provider.h
diff --git a/chrome/browser/net/sth_distributor_provider.h b/chrome/browser/net/sth_distributor_provider.h
new file mode 100644
index 0000000000000000000000000000000000000000..b8e366769b9ecfae9de21018d14e02a6a46562bf
--- /dev/null
+++ b/chrome/browser/net/sth_distributor_provider.h
@@ -0,0 +1,26 @@
+// Copyright 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.
+
+#ifndef CHROME_BROWSER_NET_STH_DISTRIBUTOR_PROVIDER_H_
+#define CHROME_BROWSER_NET_STH_DISTRIBUTOR_PROVIDER_H_
+
+#include <memory>
+
+namespace net {
+
+namespace ct {
+class STHDistributor;
+} // namespace ct
+
+} // namespace net
+
+namespace chrome_browser_net {
+
+void SetGlobalSTHDistributor(
+ std::unique_ptr<net::ct::STHDistributor> distributor);
+net::ct::STHDistributor* GetGlobalSTHDistributor();
+
+} // namespace chrome_browser_net
+
+#endif // CHROME_BROWSER_NET_STH_DISTRIBUTOR_PROVIDER_H_

Powered by Google App Engine
This is Rietveld 408576698