| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_DOM_UI_OPTIONS_CERTIFICATE_MANAGER_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_DOM_UI_OPTIONS_CERTIFICATE_MANAGER_HANDLER_H_ |
| 6 #define CHROME_BROWSER_DOM_UI_OPTIONS_CERTIFICATE_MANAGER_HANDLER_H_ | 6 #define CHROME_BROWSER_DOM_UI_OPTIONS_CERTIFICATE_MANAGER_HANDLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
| 12 #include "chrome/browser/cancelable_request.h" | 12 #include "chrome/browser/cancelable_request.h" |
| 13 #include "chrome/browser/certificate_manager_model.h" | 13 #include "chrome/browser/certificate_manager_model.h" |
| 14 #include "chrome/browser/dom_ui/options/options_ui.h" | 14 #include "chrome/browser/dom_ui/options/options_ui.h" |
| 15 #include "chrome/browser/shell_dialogs.h" | 15 #include "chrome/browser/ui/shell_dialogs.h" |
| 16 #include "net/base/cert_database.h" | 16 #include "net/base/cert_database.h" |
| 17 #include "ui/gfx/native_widget_types.h" | 17 #include "ui/gfx/native_widget_types.h" |
| 18 | 18 |
| 19 class FileAccessProvider; | 19 class FileAccessProvider; |
| 20 | 20 |
| 21 class CertificateManagerHandler : public OptionsPageUIHandler, | 21 class CertificateManagerHandler : public OptionsPageUIHandler, |
| 22 public CertificateManagerModel::Observer, | 22 public CertificateManagerModel::Observer, |
| 23 public SelectFileDialog::Listener { | 23 public SelectFileDialog::Listener { |
| 24 public: | 24 public: |
| 25 CertificateManagerHandler(); | 25 CertificateManagerHandler(); |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 scoped_refptr<net::CryptoModule> module_; | 152 scoped_refptr<net::CryptoModule> module_; |
| 153 | 153 |
| 154 // Used in reading and writing certificate files. | 154 // Used in reading and writing certificate files. |
| 155 CancelableRequestConsumer consumer_; | 155 CancelableRequestConsumer consumer_; |
| 156 scoped_refptr<FileAccessProvider> file_access_provider_; | 156 scoped_refptr<FileAccessProvider> file_access_provider_; |
| 157 | 157 |
| 158 DISALLOW_COPY_AND_ASSIGN(CertificateManagerHandler); | 158 DISALLOW_COPY_AND_ASSIGN(CertificateManagerHandler); |
| 159 }; | 159 }; |
| 160 | 160 |
| 161 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_CERTIFICATE_MANAGER_HANDLER_H_ | 161 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_CERTIFICATE_MANAGER_HANDLER_H_ |
| OLD | NEW |