summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_process_impl.h
diff options
context:
space:
mode:
authorapavlov@chromium.org <apavlov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-11 15:56:33 +0000
committerapavlov@chromium.org <apavlov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-11 15:56:33 +0000
commit680383acda7ddf2a5a1b9f910e77054ce359b748 (patch)
tree3c5b52feceed9ec40030b90cb8ec422909ca9c81 /chrome/browser/browser_process_impl.h
parent5156a125897f30d94a648ccf1fc1d6b48d1b488d (diff)
downloadchromium_src-680383acda7ddf2a5a1b9f910e77054ce359b748.zip
chromium_src-680383acda7ddf2a5a1b9f910e77054ce359b748.tar.gz
chromium_src-680383acda7ddf2a5a1b9f910e77054ce359b748.tar.bz2
Set have_inspector_files_ in the UI thread as it is only read from that thread.
BUG=24419 TEST=TSAN Review URL: http://codereview.chromium.org/391017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31665 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process_impl.h')
-rw-r--r--chrome/browser/browser_process_impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h
index ea9efb4..13ffeb0 100644
--- a/chrome/browser/browser_process_impl.h
+++ b/chrome/browser/browser_process_impl.h
@@ -200,6 +200,10 @@ class BrowserProcessImpl : public BrowserProcess, public NonThreadSafe {
return have_inspector_files_;
}
+ void set_have_inspector_files(bool have_inspector_files) {
+ have_inspector_files_ = have_inspector_files;
+ }
+
#if defined(IPC_MESSAGE_LOG_ENABLED)
virtual void SetIPCLoggingEnabled(bool enable);
#endif