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

Unified Diff: base/task_scheduler/task_traits.h

Issue 1436403003: Make scoped enums output streamable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Meh Created 4 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 | « base/logging_unittest.cc ('k') | base/task_scheduler/task_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/task_scheduler/task_traits.h
diff --git a/base/task_scheduler/task_traits.h b/base/task_scheduler/task_traits.h
index 523fd137b66557e7146f1774b661b8b8e3cf6d5e..efb8361cb8718d43eb67237ddea331ec21581cb5 100644
--- a/base/task_scheduler/task_traits.h
+++ b/base/task_scheduler/task_traits.h
@@ -126,15 +126,6 @@ enum class ExecutionMode {
SINGLE_THREADED,
};
-// Stream operators so TaskPriority and TaskShutdownBehavior can be used in
-// DCHECK statements.
-BASE_EXPORT std::ostream& operator<<(std::ostream& os,
- const TaskPriority& shutdown_behavior);
-
-BASE_EXPORT std::ostream& operator<<(
- std::ostream& os,
- const TaskShutdownBehavior& shutdown_behavior);
-
} // namespace base
#endif // BASE_TASK_SCHEDULER_TASK_TRAITS_H_
« no previous file with comments | « base/logging_unittest.cc ('k') | base/task_scheduler/task_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698