Index: content/browser/devtools/devtools_tracing_handler.cc |
diff --git a/content/browser/devtools/devtools_tracing_handler.cc b/content/browser/devtools/devtools_tracing_handler.cc |
index 19abb63d9895a407e5cd47f71439b094d91f0708..de81bf3cb6ad3b3f556c7cb779e8cb464007d2d4 100644 |
--- a/content/browser/devtools/devtools_tracing_handler.cc |
+++ b/content/browser/devtools/devtools_tracing_handler.cc |
@@ -30,6 +30,7 @@ namespace { |
const char kRecordUntilFull[] = "record-until-full"; |
const char kRecordContinuously[] = "record-continuously"; |
+const char kRecordAsMuchAsPossible[] = "record-as-much-as-possible"; |
const char kEnableSampling[] = "enable-sampling"; |
void ReadFile( |
@@ -141,6 +142,8 @@ base::debug::TraceOptions DevToolsTracingHandler::TraceOptionsFromString( |
ret.record_mode = base::debug::RECORD_UNTIL_FULL; |
} else if (*iter == kRecordContinuously) { |
ret.record_mode = base::debug::RECORD_CONTINUOUSLY; |
+ } else if (*iter == kRecordAsMuchAsPossible) { |
+ ret.record_mode = base::debug::RECORD_AS_MUCH_AS_POSSIBLE; |
} else if (*iter == kEnableSampling) { |
ret.enable_sampling = true; |
} |