Index: chrome/browser/profiles/profile_impl_io_data.cc |
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc |
index 544c3ddc99cae6f24ebd171a637235d341ac50c7..fd8149cf6fab6b6c296d078f5211c8d14f0f600b 100644 |
--- a/chrome/browser/profiles/profile_impl_io_data.cc |
+++ b/chrome/browser/profiles/profile_impl_io_data.cc |
@@ -333,11 +333,8 @@ void ProfileImplIOData::InitializeInternal( |
IOThread* const io_thread = profile_params->io_thread; |
IOThread::Globals* const io_thread_globals = io_thread->globals(); |
const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
- // Only allow Record Mode if we are in a Debug build or where we are running |
- // a cycle, and the user has limited control. |
bool record_mode = command_line.HasSwitch(switches::kRecordMode) && |
- (chrome::kRecordModeEnabled || |
- command_line.HasSwitch(switches::kVisitURLs)); |
+ chrome::kRecordModeEnabled; |
bool playback_mode = command_line.HasSwitch(switches::kPlaybackMode); |
network_delegate()->set_predictor(predictor_.get()); |
@@ -525,11 +522,8 @@ ProfileImplIOData::InitializeAppRequestContext( |
partition_descriptor.path.Append(chrome::kCacheDirname); |
const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
- // Only allow Record Mode if we are in a Debug build or where we are running |
- // a cycle, and the user has limited control. |
bool record_mode = command_line.HasSwitch(switches::kRecordMode) && |
- (chrome::kRecordModeEnabled || |
- command_line.HasSwitch(switches::kVisitURLs)); |
+ chrome::kRecordModeEnabled; |
bool playback_mode = command_line.HasSwitch(switches::kPlaybackMode); |
// Use a separate HTTP disk cache for isolated apps. |