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

Side by Side Diff: chrome/browser/ssl/ssl_blocking_page.h

Issue 8614003: Add OVERRIDE to chrome/browser/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ 5 #ifndef CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_
6 #define CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ 6 #define CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 21 matching lines...) Expand all
32 32
33 // A method that sets strings in the specified dictionary from the passed 33 // A method that sets strings in the specified dictionary from the passed
34 // vector so that they can be used to resource the ssl_roadblock.html/ 34 // vector so that they can be used to resource the ssl_roadblock.html/
35 // ssl_error.html files. 35 // ssl_error.html files.
36 // Note: there can be up to 5 strings in |extra_info|. 36 // Note: there can be up to 5 strings in |extra_info|.
37 static void SetExtraInfo(base::DictionaryValue* strings, 37 static void SetExtraInfo(base::DictionaryValue* strings,
38 const std::vector<string16>& extra_info); 38 const std::vector<string16>& extra_info);
39 39
40 protected: 40 protected:
41 // ChromeInterstitialPage implementation. 41 // ChromeInterstitialPage implementation.
42 virtual std::string GetHTMLContents(); 42 virtual std::string GetHTMLContents() OVERRIDE;
43 virtual void CommandReceived(const std::string& command); 43 virtual void CommandReceived(const std::string& command) OVERRIDE;
44 virtual void UpdateEntry(NavigationEntry* entry); 44 virtual void UpdateEntry(NavigationEntry* entry) OVERRIDE;
45 virtual void Proceed(); 45 virtual void Proceed() OVERRIDE;
46 virtual void DontProceed(); 46 virtual void DontProceed() OVERRIDE;
47 47
48 private: 48 private:
49 void NotifyDenyCertificate(); 49 void NotifyDenyCertificate();
50 void NotifyAllowCertificate(); 50 void NotifyAllowCertificate();
51 51
52 // The error we represent. We will either call CancelRequest() or 52 // The error we represent. We will either call CancelRequest() or
53 // ContinueRequest() on this object. 53 // ContinueRequest() on this object.
54 scoped_refptr<SSLCertErrorHandler> handler_; 54 scoped_refptr<SSLCertErrorHandler> handler_;
55 55
56 base::Callback<void(SSLCertErrorHandler*, bool)> callback_; 56 base::Callback<void(SSLCertErrorHandler*, bool)> callback_;
57 57
58 // Is the certificate error overridable or fatal? 58 // Is the certificate error overridable or fatal?
59 bool overridable_; 59 bool overridable_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage); 61 DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage);
62 }; 62 };
63 63
64 #endif // CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ 64 #endif // CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/spellchecker/spellcheck_message_filter.h ('k') | chrome/browser/tab_contents/background_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698