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

Side by Side Diff: content/browser/android/content_view_client.cc

Issue 10821024: Remove error handling for NOT_IN_DNS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: g try Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ssl/ssl_error_info.cc ('k') | content/browser/ssl/ssl_policy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/android/content_view_client.h" 5 #include "content/browser/android/content_view_client.h"
6 6
7 #include <android/keycodes.h> 7 #include <android/keycodes.h>
8 8
9 #include "base/android/jni_android.h" 9 #include "base/android/jni_android.h"
10 #include "base/android/jni_string.h" 10 #include "base/android/jni_string.h"
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 */ 552 */
553 case net::ERR_CERT_COMMON_NAME_INVALID: 553 case net::ERR_CERT_COMMON_NAME_INVALID:
554 case net::ERR_CERT_DATE_INVALID: 554 case net::ERR_CERT_DATE_INVALID:
555 case net::ERR_CERT_AUTHORITY_INVALID: 555 case net::ERR_CERT_AUTHORITY_INVALID:
556 case net::ERR_CERT_CONTAINS_ERRORS: 556 case net::ERR_CERT_CONTAINS_ERRORS:
557 case net::ERR_CERT_NO_REVOCATION_MECHANISM: 557 case net::ERR_CERT_NO_REVOCATION_MECHANISM:
558 case net::ERR_CERT_UNABLE_TO_CHECK_REVOCATION: 558 case net::ERR_CERT_UNABLE_TO_CHECK_REVOCATION:
559 case net::ERR_CERT_REVOKED: 559 case net::ERR_CERT_REVOKED:
560 case net::ERR_CERT_INVALID: 560 case net::ERR_CERT_INVALID:
561 case net::ERR_CERT_WEAK_SIGNATURE_ALGORITHM: 561 case net::ERR_CERT_WEAK_SIGNATURE_ALGORITHM:
562 case net::ERR_CERT_NOT_IN_DNS:
563 case net::ERR_CERT_NON_UNIQUE_NAME: 562 case net::ERR_CERT_NON_UNIQUE_NAME:
564 return CONTENT_VIEW_CLIENT_ERROR_OK; 563 return CONTENT_VIEW_CLIENT_ERROR_OK;
565 564
566 default: 565 default:
567 VLOG(1) << "ContentViewClient::ToContentViewClientError: Unknown " 566 VLOG(1) << "ContentViewClient::ToContentViewClientError: Unknown "
568 << "chromium error: " 567 << "chromium error: "
569 << net_error; 568 << net_error;
570 return CONTENT_VIEW_CLIENT_ERROR_UNKNOWN; 569 return CONTENT_VIEW_CLIENT_ERROR_UNKNOWN;
571 } 570 }
572 } 571 }
(...skipping 18 matching lines...) Expand all
591 590
592 bool RegisterContentViewClient(JNIEnv* env) { 591 bool RegisterContentViewClient(JNIEnv* env) {
593 if (!HasClass(env, kContentViewClientClassPath)) { 592 if (!HasClass(env, kContentViewClientClassPath)) {
594 DLOG(ERROR) << "Unable to find class ContentViewClient!"; 593 DLOG(ERROR) << "Unable to find class ContentViewClient!";
595 return false; 594 return false;
596 } 595 }
597 return RegisterNativesImpl(env); 596 return RegisterNativesImpl(env);
598 } 597 }
599 598
600 } // namespace content 599 } // namespace content
OLDNEW
« no previous file with comments | « chrome/browser/ssl/ssl_error_info.cc ('k') | content/browser/ssl/ssl_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698