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

Unified Diff: chrome/browser/extensions/external_loader.h

Issue 2809293004: Fix windows registry loader to carry over prefs from file thread correctly (Closed)
Patch Set: add TODO Created 3 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 | « no previous file | chrome/browser/extensions/external_registry_loader_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/external_loader.h
diff --git a/chrome/browser/extensions/external_loader.h b/chrome/browser/extensions/external_loader.h
index ecc11d68439e641636a20656c97ccd919458faf8..83948dbc22087db8c5f40d0efbc0bcfd9ee80b0e 100644
--- a/chrome/browser/extensions/external_loader.h
+++ b/chrome/browser/extensions/external_loader.h
@@ -69,6 +69,8 @@ class ExternalLoader : public base::RefCountedThreadSafe<ExternalLoader> {
// this task should invoke |LoadFinished| with a PostTask. This scheme of
// posting tasks will avoid concurrent access and imply the necessary memory
// barriers.
+ // TODO(lazyboy): To avoid |prefs_| getting unexpectedly overwritten before it
+ // is consumed, consider passing the prefs directly in LoadFinished().
std::unique_ptr<base::DictionaryValue> prefs_;
private:
« no previous file with comments | « no previous file | chrome/browser/extensions/external_registry_loader_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698