OLD | NEW |
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_EXTENSIONS_PACK_EXTENSION_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_PACK_EXTENSION_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_PACK_EXTENSION_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_PACK_EXTENSION_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "chrome/browser/browsing_data/browsing_data_remover.h" | 10 #include "chrome/browser/browsing_data/browsing_data_remover.h" |
11 #include "chrome/browser/extensions/pack_extension_job.h" | 11 #include "chrome/browser/extensions/pack_extension_job.h" |
12 #include "chrome/browser/plugin_data_remover_helper.h" | 12 #include "chrome/browser/plugins/plugin_data_remover_helper.h" |
13 #include "content/public/browser/web_ui_message_handler.h" | 13 #include "content/public/browser/web_ui_message_handler.h" |
14 #include "ui/base/dialogs/select_file_dialog.h" | 14 #include "ui/base/dialogs/select_file_dialog.h" |
15 | 15 |
16 // Clear browser data handler page UI handler. | 16 // Clear browser data handler page UI handler. |
17 class PackExtensionHandler : public content::WebUIMessageHandler, | 17 class PackExtensionHandler : public content::WebUIMessageHandler, |
18 public ui::SelectFileDialog::Listener, | 18 public ui::SelectFileDialog::Listener, |
19 public extensions::PackExtensionJob::Client { | 19 public extensions::PackExtensionJob::Client { |
20 public: | 20 public: |
21 PackExtensionHandler(); | 21 PackExtensionHandler(); |
22 virtual ~PackExtensionHandler(); | 22 virtual ~PackExtensionHandler(); |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 // Path to root directory of extension | 64 // Path to root directory of extension |
65 std::string extension_path_; | 65 std::string extension_path_; |
66 | 66 |
67 // Path to private key file, or null if none specified | 67 // Path to private key file, or null if none specified |
68 std::string private_key_path_; | 68 std::string private_key_path_; |
69 | 69 |
70 DISALLOW_COPY_AND_ASSIGN(PackExtensionHandler); | 70 DISALLOW_COPY_AND_ASSIGN(PackExtensionHandler); |
71 }; | 71 }; |
72 | 72 |
73 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_PACK_EXTENSION_HANDLER_H_ | 73 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_PACK_EXTENSION_HANDLER_H_ |
OLD | NEW |