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

Side by Side Diff: chrome/browser/ui/webui/options/certificate_manager_handler.h

Issue 18121007: *WIP* Store NSS slots per profile. Move keygen to chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: certdb: handle GetCertTrust and IsUntrusted, failed attempt to handle SetCertTrust Created 7 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) 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 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CERTIFICATE_MANAGER_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CERTIFICATE_MANAGER_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CERTIFICATE_MANAGER_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CERTIFICATE_MANAGER_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 22 matching lines...) Expand all
33 public: 33 public:
34 CertificateManagerHandler(); 34 CertificateManagerHandler();
35 virtual ~CertificateManagerHandler(); 35 virtual ~CertificateManagerHandler();
36 36
37 // OptionsPageUIHandler implementation. 37 // OptionsPageUIHandler implementation.
38 virtual void GetLocalizedValues( 38 virtual void GetLocalizedValues(
39 base::DictionaryValue* localized_strings) OVERRIDE; 39 base::DictionaryValue* localized_strings) OVERRIDE;
40 virtual void RegisterMessages() OVERRIDE; 40 virtual void RegisterMessages() OVERRIDE;
41 41
42 // CertificateManagerModel::Observer implementation. 42 // CertificateManagerModel::Observer implementation.
43 virtual void CertificateManagerModelReady() OVERRIDE;
43 virtual void CertificatesRefreshed() OVERRIDE; 44 virtual void CertificatesRefreshed() OVERRIDE;
44 45
45 // SelectFileDialog::Listener implementation. 46 // SelectFileDialog::Listener implementation.
46 virtual void FileSelected(const base::FilePath& path, 47 virtual void FileSelected(const base::FilePath& path,
47 int index, 48 int index,
48 void* params) OVERRIDE; 49 void* params) OVERRIDE;
49 virtual void FileSelectionCanceled(void* params) OVERRIDE; 50 virtual void FileSelectionCanceled(void* params) OVERRIDE;
50 51
51 private: 52 private:
52 // View certificate. 53 // View certificate.
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 scoped_ptr<CertIdMap> cert_id_map_; 188 scoped_ptr<CertIdMap> cert_id_map_;
188 189
189 base::WeakPtrFactory<CertificateManagerHandler> weak_ptr_factory_; 190 base::WeakPtrFactory<CertificateManagerHandler> weak_ptr_factory_;
190 191
191 DISALLOW_COPY_AND_ASSIGN(CertificateManagerHandler); 192 DISALLOW_COPY_AND_ASSIGN(CertificateManagerHandler);
192 }; 193 };
193 194
194 } // namespace options 195 } // namespace options
195 196
196 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CERTIFICATE_MANAGER_HANDLER_H_ 197 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CERTIFICATE_MANAGER_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698