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

Unified Diff: components/crash/content/browser/crash_handler_host_linux.h

Issue 2318123002: Remove calls to IsRunningSequenceOnCurrentThread() from crash_handler_host_linux.cc (Closed)
Patch Set: fix build error Created 4 years, 3 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 | components/crash/content/browser/crash_handler_host_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/crash/content/browser/crash_handler_host_linux.h
diff --git a/components/crash/content/browser/crash_handler_host_linux.h b/components/crash/content/browser/crash_handler_host_linux.h
index efb7520b353cb214d9ad5af6c8ceba15ba8fb9b6..1c463644ccda90ef762e9c3d5d4cf25b01500849 100644
--- a/components/crash/content/browser/crash_handler_host_linux.h
+++ b/components/crash/content/browser/crash_handler_host_linux.h
@@ -14,6 +14,7 @@
#include "base/files/file_path.h"
#include "base/macros.h"
#include "base/message_loop/message_loop.h"
+#include "base/sequence_checker.h"
#include "base/threading/sequenced_worker_pool.h"
#include "components/crash/content/app/breakpad_linux_impl.h"
@@ -102,6 +103,9 @@ class CrashHandlerHostLinux : public base::MessageLoopForIO::Watcher,
// by other tasks.
base::SequencedWorkerPool::SequenceToken worker_pool_token_;
+ // Used to verify that calls to WriteDumpFile() are sequenced.
+ base::SequenceChecker write_dump_file_sequence_checker_;
+
DISALLOW_COPY_AND_ASSIGN(CrashHandlerHostLinux);
};
« no previous file with comments | « no previous file | components/crash/content/browser/crash_handler_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698