Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/debug/trace_event_impl.h" | 5 #include "base/debug/trace_event_impl.h" |
| 6 | 6 |
| 7 namespace base { | 7 namespace base { |
| 8 namespace debug { | 8 namespace debug { |
| 9 | 9 |
| 10 // Enable everything but debug and test categories by default. | 10 // Enable everything but debug and test categories by default. |
| 11 const char* CategoryFilter::kDefaultCategoryFilterString = "-*Debug,-*Test"; | 11 const char* CategoryFilter::kDefaultCategoryFilterString = "-*Debug,-*Test"; |
| 12 | 12 |
| 13 // String options for trace. | |
| 14 const char* TraceOptions::kRecordUntilFull = "record-until-full"; | |
|
dsinclair
2014/07/28 18:52:36
Do these get used outside of trace_event_impl? Can
nednguyen
2014/07/29 19:33:20
Done.
| |
| 15 const char* TraceOptions::kRecordContinuously = "record-continuously"; | |
| 16 const char* TraceOptions::kTraceToConsole = "trace-to-console"; | |
| 17 const char* TraceOptions::kEnableSampling = "enable-sampling"; | |
| 18 | |
| 19 const TraceLog::InternalTraceOptions TraceLog::NONE = 0; | |
|
dsinclair
2014/07/28 18:52:36
I guess these can't just be assigned in the enum a
nednguyen
2014/07/29 19:33:20
I don't find the need for these to be enum if it's
| |
| 20 const TraceLog::InternalTraceOptions TraceLog::RECORD_UNTIL_FULL = 1 << 0; | |
| 21 const TraceLog::InternalTraceOptions TraceLog::RECORD_CONTINUOUSLY = 1 << 1; | |
| 22 const TraceLog::InternalTraceOptions TraceLog::ENABLE_SAMPLING = 1 << 2; | |
| 23 const TraceLog::InternalTraceOptions TraceLog::ECHO_TO_CONSOLE = 1 << 3; | |
| 24 | |
| 25 | |
| 26 | |
| 13 } // namespace debug | 27 } // namespace debug |
| 14 } // namespace base | 28 } // namespace base |
| OLD | NEW |