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

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

Issue 399016: Fix race conditions where an object's constructor uses PostTask on itself. T... (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_CRX_INSTALLER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 scoped_refptr<ExtensionsService> frontend_; 162 scoped_refptr<ExtensionsService> frontend_;
163 163
164 // The client we will work with to do the installation. This can be NULL, in 164 // The client we will work with to do the installation. This can be NULL, in
165 // which case the install is silent. 165 // which case the install is silent.
166 scoped_ptr<ExtensionInstallUI> client_; 166 scoped_ptr<ExtensionInstallUI> client_;
167 167
168 // The root of the unpacked extension directory. This is a subdirectory of 168 // The root of the unpacked extension directory. This is a subdirectory of
169 // temp_dir_, so we don't have to delete it explicitly. 169 // temp_dir_, so we don't have to delete it explicitly.
170 FilePath unpacked_extension_root_; 170 FilePath unpacked_extension_root_;
171 171
172 // The unpacker we will use to unpack the extension.
173 SandboxedExtensionUnpacker* unpacker_;
174
175 DISALLOW_COPY_AND_ASSIGN(CrxInstaller); 172 DISALLOW_COPY_AND_ASSIGN(CrxInstaller);
176 }; 173 };
177 174
178 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ 175 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698