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

Unified Diff: base/sequence_checker.h

Issue 168373002: Make the #includes consistent in various thread checkers between debug and release mode. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 10 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 | base/threading/non_thread_safe.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sequence_checker.h
===================================================================
--- base/sequence_checker.h (revision 251478)
+++ base/sequence_checker.h (working copy)
@@ -5,8 +5,6 @@
#ifndef BASE_SEQUENCE_CHECKER_H_
#define BASE_SEQUENCE_CHECKER_H_
-#include "base/memory/ref_counted.h"
-
// See comments for the similar block in thread_checker.h.
#if (!defined(NDEBUG) || defined(DCHECK_ALWAYS_ON))
#define ENABLE_SEQUENCE_CHECKER 1
@@ -14,14 +12,10 @@
#define ENABLE_SEQUENCE_CHECKER 0
#endif
-#if ENABLE_SEQUENCE_CHECKER
#include "base/sequence_checker_impl.h"
-#endif
namespace base {
-class SequencedTaskRunner;
-
// Do nothing implementation, for use in release mode.
//
// Note: You should almost always use the SequenceChecker class to get
@@ -52,7 +46,7 @@
// SequenceChecker sequence_checker_;
// }
//
-// In Release mode, CalledOnValidSequence will always return true.
+// In Release mode, CalledOnValidSequencedThread() will always return true.
#if ENABLE_SEQUENCE_CHECKER
class SequenceChecker : public SequenceCheckerImpl {
};
« no previous file with comments | « no previous file | base/threading/non_thread_safe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698