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

Unified Diff: extensions/browser/sandboxed_unpacker.cc

Issue 1080453002: Always destroy CrxInstaller on the UI Thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix CrOZ Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: extensions/browser/sandboxed_unpacker.cc
diff --git a/extensions/browser/sandboxed_unpacker.cc b/extensions/browser/sandboxed_unpacker.cc
index e22109a79bb69cbe706b9870d4d5a068ce526830..767a1780a76c8c14da0249ef85a99bf852a1d9fc 100644
--- a/extensions/browser/sandboxed_unpacker.cc
+++ b/extensions/browser/sandboxed_unpacker.cc
@@ -212,6 +212,11 @@ bool ReadMessageCatalogsFromFile(const base::FilePath& extension_path,
} // namespace
+SandboxedUnpackerClient::SandboxedUnpackerClient(
+ const scoped_refptr<base::MessageLoopProxy>& loop)
+ : RefCountedDeleteOnMessageLoop<SandboxedUnpackerClient>(loop) {
benwells 2015/04/14 22:14:19 Can you put BrowserThread::GetMessageLoopProxyForT
tapted 2015/04/15 03:07:44 Done. Turns out //extensions/browser is fine wrt D
+}
+
SandboxedUnpacker::SandboxedUnpacker(
const CRXFileInfo& file,
Manifest::Location location,

Powered by Google App Engine
This is Rietveld 408576698