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

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: Less plumbing. More comments 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
« no previous file with comments | « extensions/browser/sandboxed_unpacker.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/sandboxed_unpacker.cc
diff --git a/extensions/browser/sandboxed_unpacker.cc b/extensions/browser/sandboxed_unpacker.cc
index e22109a79bb69cbe706b9870d4d5a068ce526830..29d559a6775606910a3feda06653df304bd3471b 100644
--- a/extensions/browser/sandboxed_unpacker.cc
+++ b/extensions/browser/sandboxed_unpacker.cc
@@ -212,6 +212,13 @@ bool ReadMessageCatalogsFromFile(const base::FilePath& extension_path,
} // namespace
+SandboxedUnpackerClient::SandboxedUnpackerClient()
+ : RefCountedDeleteOnMessageLoop<SandboxedUnpackerClient>(
+ content::BrowserThread::GetMessageLoopProxyForThread(
+ content::BrowserThread::UI)) {
+ DCHECK_CURRENTLY_ON(BrowserThread::UI);
+}
+
SandboxedUnpacker::SandboxedUnpacker(
const CRXFileInfo& file,
Manifest::Location location,
« no previous file with comments | « extensions/browser/sandboxed_unpacker.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698