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

Side by Side Diff: chrome/browser/ssl/ssl_browser_tests.cc

Issue 684613002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/bind_helpers.h" 6 #include "base/bind_helpers.h"
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/prefs/pref_service.h" 9 #include "base/prefs/pref_service.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 // as page title. 731 // as page title.
732 const base::string16 result = watcher.WaitAndGetTitle(); 732 const base::string16 result = watcher.WaitAndGetTitle();
733 EXPECT_TRUE(LowerCaseEqualsASCII(result, "pass")); 733 EXPECT_TRUE(LowerCaseEqualsASCII(result, "pass"));
734 } 734 }
735 735
736 #if defined(USE_NSS) 736 #if defined(USE_NSS)
737 class SSLUITestWithClientCert : public SSLUITest { 737 class SSLUITestWithClientCert : public SSLUITest {
738 public: 738 public:
739 SSLUITestWithClientCert() : cert_db_(NULL) {} 739 SSLUITestWithClientCert() : cert_db_(NULL) {}
740 740
741 virtual void SetUpOnMainThread() override { 741 void SetUpOnMainThread() override {
742 SSLUITest::SetUpOnMainThread(); 742 SSLUITest::SetUpOnMainThread();
743 743
744 base::RunLoop loop; 744 base::RunLoop loop;
745 GetNSSCertDatabaseForProfile( 745 GetNSSCertDatabaseForProfile(
746 browser()->profile(), 746 browser()->profile(),
747 base::Bind(&SSLUITestWithClientCert::DidGetCertDatabase, 747 base::Bind(&SSLUITestWithClientCert::DidGetCertDatabase,
748 base::Unretained(this), 748 base::Unretained(this),
749 &loop)); 749 &loop));
750 loop.Run(); 750 loop.Run();
751 } 751 }
(...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after
1880 1880
1881 // Visit a page over https that contains a frame with a redirect. 1881 // Visit a page over https that contains a frame with a redirect.
1882 1882
1883 // XMLHttpRequest insecure content in synchronous mode. 1883 // XMLHttpRequest insecure content in synchronous mode.
1884 1884
1885 // XMLHttpRequest insecure content in asynchronous mode. 1885 // XMLHttpRequest insecure content in asynchronous mode.
1886 1886
1887 // XMLHttpRequest over bad ssl in synchronous mode. 1887 // XMLHttpRequest over bad ssl in synchronous mode.
1888 1888
1889 // XMLHttpRequest over OK ssl in synchronous mode. 1889 // XMLHttpRequest over OK ssl in synchronous mode.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698