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

Unified Diff: chrome/browser/ssl/chrome_fraudulent_certificate_reporter.h

Issue 1267383002: Allow preloaded pins to contain report URIs; remove special-case reporting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase fixup Created 5 years, 4 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/ssl/chrome_fraudulent_certificate_reporter.h
diff --git a/chrome/browser/ssl/chrome_fraudulent_certificate_reporter.h b/chrome/browser/ssl/chrome_fraudulent_certificate_reporter.h
deleted file mode 100644
index 3c4d0861632206402b26f2bdff513f46933aaf27..0000000000000000000000000000000000000000
--- a/chrome/browser/ssl/chrome_fraudulent_certificate_reporter.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2015 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_SSL_CHROME_FRAUDULENT_CERTIFICATE_REPORTER_H_
-#define CHROME_BROWSER_SSL_CHROME_FRAUDULENT_CERTIFICATE_REPORTER_H_
-
-#include <set>
-#include <string>
-
-#include "base/memory/scoped_ptr.h"
-#include "net/url_request/fraudulent_certificate_reporter.h"
-
-namespace chrome_browser_net {
-class CertificateErrorReporter;
-} // namespace chrome_browser_net
-
-namespace net {
-class URLRequestContext;
-} // namespace net
-
-class ChromeFraudulentCertificateReporter
- : public net::FraudulentCertificateReporter {
- public:
- explicit ChromeFraudulentCertificateReporter(
- net::URLRequestContext* request_context);
-
- // Useful for tests to use a mock reporter.
- explicit ChromeFraudulentCertificateReporter(scoped_ptr<
- chrome_browser_net::CertificateErrorReporter> certificate_reporter);
-
- ~ChromeFraudulentCertificateReporter() override;
-
- // net::FraudulentCertificateReporter
- void SendReport(const std::string& hostname,
- const net::SSLInfo& ssl_info) override;
-
- private:
- scoped_ptr<chrome_browser_net::CertificateErrorReporter>
- certificate_reporter_;
-
- DISALLOW_COPY_AND_ASSIGN(ChromeFraudulentCertificateReporter);
-};
-
-#endif // CHROME_BROWSER_SSL_CHROME_FRAUDULENT_CERTIFICATE_REPORTER_H_
« no previous file with comments | « chrome/browser/profiles/profile_io_data.cc ('k') | chrome/browser/ssl/chrome_fraudulent_certificate_reporter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698