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

Side by Side Diff: chrome/browser/extensions/pack_extension_job.h

Issue 10912041: Disallow packing or loading unpacked manifest v1 extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: blarh Created 8 years, 3 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 | 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_EXTENSIONS_PACK_EXTENSION_JOB_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_PACK_EXTENSION_JOB_H_
6 #define CHROME_BROWSER_EXTENSIONS_PACK_EXTENSION_JOB_H_ 6 #define CHROME_BROWSER_EXTENSIONS_PACK_EXTENSION_JOB_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 void ReportFailureOnClientThread(const std::string& error, 60 void ReportFailureOnClientThread(const std::string& error,
61 ExtensionCreator::ErrorType error_type); 61 ExtensionCreator::ErrorType error_type);
62 62
63 content::BrowserThread::ID client_thread_id_; 63 content::BrowserThread::ID client_thread_id_;
64 Client* client_; 64 Client* client_;
65 FilePath root_directory_; 65 FilePath root_directory_;
66 FilePath key_file_; 66 FilePath key_file_;
67 FilePath crx_file_out_; 67 FilePath crx_file_out_;
68 FilePath key_file_out_; 68 FilePath key_file_out_;
69 bool asynchronous_; 69 bool asynchronous_;
70 int run_flags_; // Bitset of ExtensionCreator::RunFlags values 70 int run_flags_; // Bitset of ExtensionCreator::RunFlags values - we always
71 // assume kRequireModernManifestVersion, though.
71 72
72 DISALLOW_COPY_AND_ASSIGN(PackExtensionJob); 73 DISALLOW_COPY_AND_ASSIGN(PackExtensionJob);
73 }; 74 };
74 75
75 } // namespace extensions 76 } // namespace extensions
76 77
77 #endif // CHROME_BROWSER_EXTENSIONS_PACK_EXTENSION_JOB_H_ 78 #endif // CHROME_BROWSER_EXTENSIONS_PACK_EXTENSION_JOB_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_creator.cc ('k') | chrome/browser/extensions/pack_extension_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698