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

Side by Side Diff: chrome/browser/ui/certificate_dialogs.cc

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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 "chrome/browser/ui/certificate_dialogs.h" 5 #include "chrome/browser/ui/certificate_dialogs.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/base64.h" 10 #include "base/base64.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 class Exporter : public ui::SelectFileDialog::Listener { 66 class Exporter : public ui::SelectFileDialog::Listener {
67 public: 67 public:
68 Exporter(WebContents* web_contents, 68 Exporter(WebContents* web_contents,
69 gfx::NativeWindow parent, 69 gfx::NativeWindow parent,
70 net::X509Certificate::OSCertHandles::iterator certs_begin, 70 net::X509Certificate::OSCertHandles::iterator certs_begin,
71 net::X509Certificate::OSCertHandles::iterator certs_end); 71 net::X509Certificate::OSCertHandles::iterator certs_end);
72 virtual ~Exporter(); 72 virtual ~Exporter();
73 73
74 // SelectFileDialog::Listener implemenation. 74 // SelectFileDialog::Listener implemenation.
75 virtual void FileSelected(const base::FilePath& path, 75 virtual void FileSelected(const base::FilePath& path,
76 int index, void* params) OVERRIDE; 76 int index, void* params) override;
77 virtual void FileSelectionCanceled(void* params) OVERRIDE; 77 virtual void FileSelectionCanceled(void* params) override;
78 private: 78 private:
79 scoped_refptr<ui::SelectFileDialog> select_file_dialog_; 79 scoped_refptr<ui::SelectFileDialog> select_file_dialog_;
80 80
81 // The certificate hierarchy (leaf cert first). 81 // The certificate hierarchy (leaf cert first).
82 net::X509Certificate::OSCertHandles cert_chain_list_; 82 net::X509Certificate::OSCertHandles cert_chain_list_;
83 }; 83 };
84 84
85 Exporter::Exporter(WebContents* web_contents, 85 Exporter::Exporter(WebContents* web_contents,
86 gfx::NativeWindow parent, 86 gfx::NativeWindow parent,
87 net::X509Certificate::OSCertHandles::iterator certs_begin, 87 net::X509Certificate::OSCertHandles::iterator certs_begin,
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 new Exporter(web_contents, parent, cert_chain.begin(), cert_chain.end()); 205 new Exporter(web_contents, parent, cert_chain.begin(), cert_chain.end());
206 } 206 }
207 207
208 void ShowCertExportDialog( 208 void ShowCertExportDialog(
209 content::WebContents* web_contents, 209 content::WebContents* web_contents,
210 gfx::NativeWindow parent, 210 gfx::NativeWindow parent,
211 net::X509Certificate::OSCertHandles::iterator certs_begin, 211 net::X509Certificate::OSCertHandles::iterator certs_begin,
212 net::X509Certificate::OSCertHandles::iterator certs_end) { 212 net::X509Certificate::OSCertHandles::iterator certs_end) {
213 new Exporter(web_contents, parent, certs_begin, certs_end); 213 new Exporter(web_contents, parent, certs_begin, certs_end);
214 } 214 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_window_state.cc ('k') | chrome/browser/ui/chrome_select_file_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698