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

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

Issue 11266008: Fix certificate and keychain installation on Android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: separate android and openssl CertDatabase implementations Created 8 years 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 | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/ssl/ssl_add_certificate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl/ssl_add_certificate.h
diff --git a/chrome/browser/ssl/ssl_add_certificate.h b/chrome/browser/ssl/ssl_add_certificate.h
new file mode 100644
index 0000000000000000000000000000000000000000..371108977c848b302229324559f82d67d10ac22a
--- /dev/null
+++ b/chrome/browser/ssl/ssl_add_certificate.h
@@ -0,0 +1,29 @@
+// Copyright (c) 2012 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_SSL_ADD_CERTIFICATE_H_
+#define CHROME_BROWSER_SSL_SSL_ADD_CERTIFICATE_H_
+
+#include "base/basictypes.h"
+#include "net/base/mime_util.h"
+
+namespace net {
+class URLRequest;
+} // namespace net
+
+namespace chrome {
+
+// This method is used to add a new certificate file.
+//
+void SSLAddCertificate(
+ net::URLRequest* request,
+ net::CertificateMimeType cert_type,
+ const void* cert_data,
+ size_t cert_size,
+ int render_process_id,
+ int render_view_id);
+
+} // namespace chrome
+
+#endif // CHROME_BROWSER_SSL_SSL_ADD_CERTIFICATE_H_
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/ssl/ssl_add_certificate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698