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

Side by Side Diff: chrome/browser/ui/webui/extensions/pack_extension_handler.h

Issue 10665053: Move ExtensionCreator into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 years, 5 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 #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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 14 matching lines...) Expand all
25 void GetLocalizedValues(DictionaryValue* localized_strings); 25 void GetLocalizedValues(DictionaryValue* localized_strings);
26 26
27 // WebUIMessageHandler implementation. 27 // WebUIMessageHandler implementation.
28 virtual void RegisterMessages() OVERRIDE; 28 virtual void RegisterMessages() OVERRIDE;
29 29
30 // ExtensionPackJob::Client implementation. 30 // ExtensionPackJob::Client implementation.
31 virtual void OnPackSuccess(const FilePath& crx_file, 31 virtual void OnPackSuccess(const FilePath& crx_file,
32 const FilePath& key_file) OVERRIDE; 32 const FilePath& key_file) OVERRIDE;
33 33
34 virtual void OnPackFailure(const std::string& error, 34 virtual void OnPackFailure(const std::string& error,
35 ExtensionCreator::ErrorType) OVERRIDE; 35 extensions::ExtensionCreator::ErrorType) OVERRIDE;
36 36
37 private: 37 private:
38 // SelectFileDialog::Listener implementation. 38 // SelectFileDialog::Listener implementation.
39 virtual void FileSelected(const FilePath& path, 39 virtual void FileSelected(const FilePath& path,
40 int index, void* params) OVERRIDE; 40 int index, void* params) OVERRIDE;
41 virtual void MultiFilesSelected( 41 virtual void MultiFilesSelected(
42 const std::vector<FilePath>& files, void* params) OVERRIDE; 42 const std::vector<FilePath>& files, void* params) OVERRIDE;
43 virtual void FileSelectionCanceled(void* params) OVERRIDE {} 43 virtual void FileSelectionCanceled(void* params) OVERRIDE {}
44 44
45 // JavaScript callback to start packing an extension. 45 // JavaScript callback to start packing an extension.
(...skipping 19 matching lines...) Expand all
65 // Path to root directory of extension 65 // Path to root directory of extension
66 std::string extension_path_; 66 std::string extension_path_;
67 67
68 // Path to private key file, or null if none specified 68 // Path to private key file, or null if none specified
69 std::string private_key_path_; 69 std::string private_key_path_;
70 70
71 DISALLOW_COPY_AND_ASSIGN(PackExtensionHandler); 71 DISALLOW_COPY_AND_ASSIGN(PackExtensionHandler);
72 }; 72 };
73 73
74 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_PACK_EXTENSION_HANDLER_H_ 74 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_PACK_EXTENSION_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/pack_extension_job.cc ('k') | chrome/browser/ui/webui/extensions/pack_extension_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698