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

Unified Diff: net/base/cert_database_android.cc

Issue 13006020: net: extract net/cert out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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 | « net/base/cert_database.cc ('k') | net/base/cert_database_ios.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cert_database_android.cc
diff --git a/net/base/cert_database_android.cc b/net/base/cert_database_android.cc
deleted file mode 100644
index c4410891e5478edcb97db0ad2412793761069b13..0000000000000000000000000000000000000000
--- a/net/base/cert_database_android.cc
+++ /dev/null
@@ -1,39 +0,0 @@
-// 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.
-
-#include "net/base/cert_database.h"
-
-#include "base/logging.h"
-#include "base/observer_list_threadsafe.h"
-#include "net/base/net_errors.h"
-
-namespace net {
-
-CertDatabase::CertDatabase()
- : observer_list_(new ObserverListThreadSafe<Observer>) {
-}
-
-CertDatabase::~CertDatabase() {}
-
-int CertDatabase::CheckUserCert(X509Certificate* cert) {
- // NOTE: This method shall never be called on Android.
- //
- // On other platforms, it is only used by the SSLAddCertHandler class
- // to handle veritication and installation of downloaded certificates.
- //
- // On Android, the certificate data is passed directly to the system's
- // CertInstaller activity, which handles verification, naming,
- // installation and UI (for success/failure).
- NOTIMPLEMENTED();
- return ERR_NOT_IMPLEMENTED;
-}
-
-int CertDatabase::AddUserCert(X509Certificate* cert) {
- // This method is only used by the content SSLAddCertHandler which is
- // never used on Android.
- NOTIMPLEMENTED();
- return ERR_NOT_IMPLEMENTED;
-}
-
-} // namespace net
« no previous file with comments | « net/base/cert_database.cc ('k') | net/base/cert_database_ios.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698