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

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

Issue 345023: Get rid of MessageLoop* caching in extensions code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_SANDBOXED_EXTENSION_UNPACKER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_SANDBOXED_EXTENSION_UNPACKER_H_
6 #define CHROME_BROWSER_EXTENSIONS_SANDBOXED_EXTENSION_UNPACKER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_SANDBOXED_EXTENSION_UNPACKER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 // SandboxedExtensionUnpacker 118 // SandboxedExtensionUnpacker
119 void OnUnpackExtensionSucceeded(const DictionaryValue& manifest); 119 void OnUnpackExtensionSucceeded(const DictionaryValue& manifest);
120 void OnUnpackExtensionFailed(const std::string& error_message); 120 void OnUnpackExtensionFailed(const std::string& error_message);
121 void OnProcessCrashed(); 121 void OnProcessCrashed();
122 122
123 void ReportFailure(const std::string& message); 123 void ReportFailure(const std::string& message);
124 void ReportSuccess(); 124 void ReportSuccess();
125 125
126 FilePath crx_path_; 126 FilePath crx_path_;
127 MessageLoop* file_loop_; 127 ChromeThread::ID thread_identifier_;
128 ResourceDispatcherHost* rdh_; 128 ResourceDispatcherHost* rdh_;
129 scoped_refptr<SandboxedExtensionUnpackerClient> client_; 129 scoped_refptr<SandboxedExtensionUnpackerClient> client_;
130 ScopedTempDir temp_dir_; 130 ScopedTempDir temp_dir_;
131 FilePath extension_root_; 131 FilePath extension_root_;
132 scoped_ptr<Extension> extension_; 132 scoped_ptr<Extension> extension_;
133 bool got_response_; 133 bool got_response_;
134 std::string public_key_; 134 std::string public_key_;
135 }; 135 };
136 136
137 #endif // CHROME_BROWSER_EXTENSIONS_SANDBOXED_EXTENSION_UNPACKER_H_ 137 #endif // CHROME_BROWSER_EXTENSIONS_SANDBOXED_EXTENSION_UNPACKER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/pack_extension_job.cc ('k') | chrome/browser/extensions/sandboxed_extension_unpacker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698