Index: content/browser/download/download_item_impl_unittest.cc |
diff --git a/content/browser/download/download_item_impl_unittest.cc b/content/browser/download/download_item_impl_unittest.cc |
index 1291ce11350ca19f80de32eacc34b4a6c0c27790..86588ba2a2759c7299cc21126d716899464b48df 100644 |
--- a/content/browser/download/download_item_impl_unittest.cc |
+++ b/content/browser/download/download_item_impl_unittest.cc |
@@ -409,7 +409,7 @@ TEST_F(DownloadItemTest, NotificationAfterDestroyed) { |
} |
TEST_F(DownloadItemTest, ContinueAfterInterrupted) { |
- CommandLine::ForCurrentProcess()->AppendSwitch( |
+ base::CommandLine::ForCurrentProcess()->AppendSwitch( |
switches::kEnableDownloadResumption); |
DownloadItemImpl* item = CreateDownloadItem(); |
@@ -437,7 +437,7 @@ TEST_F(DownloadItemTest, ContinueAfterInterrupted) { |
// Same as above, but with a non-continuable interrupt. |
TEST_F(DownloadItemTest, RestartAfterInterrupted) { |
- CommandLine::ForCurrentProcess()->AppendSwitch( |
+ base::CommandLine::ForCurrentProcess()->AppendSwitch( |
switches::kEnableDownloadResumption); |
DownloadItemImpl* item = CreateDownloadItem(); |
@@ -461,7 +461,7 @@ TEST_F(DownloadItemTest, RestartAfterInterrupted) { |
// Check we do correct cleanup for RESUME_MODE_INVALID interrupts. |
TEST_F(DownloadItemTest, UnresumableInterrupt) { |
- CommandLine::ForCurrentProcess()->AppendSwitch( |
+ base::CommandLine::ForCurrentProcess()->AppendSwitch( |
switches::kEnableDownloadResumption); |
DownloadItemImpl* item = CreateDownloadItem(); |
@@ -491,7 +491,7 @@ TEST_F(DownloadItemTest, UnresumableInterrupt) { |
} |
TEST_F(DownloadItemTest, LimitRestartsAfterInterrupted) { |
- CommandLine::ForCurrentProcess()->AppendSwitch( |
+ base::CommandLine::ForCurrentProcess()->AppendSwitch( |
switches::kEnableDownloadResumption); |
DownloadItemImpl* item = CreateDownloadItem(); |
@@ -813,7 +813,7 @@ TEST_F(DownloadItemTest, InterruptedBeforeIntermediateRename_Restart) { |
// intermediate path should be retained when the download is interrupted after |
// the intermediate rename succeeds. |
TEST_F(DownloadItemTest, InterruptedBeforeIntermediateRename_Continue) { |
- CommandLine::ForCurrentProcess()->AppendSwitch( |
+ base::CommandLine::ForCurrentProcess()->AppendSwitch( |
switches::kEnableDownloadResumption); |
DownloadItemImpl* item = CreateDownloadItem(); |
DownloadItemImplDelegate::DownloadTargetCallback callback; |
@@ -848,7 +848,7 @@ TEST_F(DownloadItemTest, InterruptedBeforeIntermediateRename_Continue) { |
// As above. If the intermediate rename fails, then the interrupt reason should |
// be set to the destination error and the intermediate path should be empty. |
TEST_F(DownloadItemTest, InterruptedBeforeIntermediateRename_Failed) { |
- CommandLine::ForCurrentProcess()->AppendSwitch( |
+ base::CommandLine::ForCurrentProcess()->AppendSwitch( |
switches::kEnableDownloadResumption); |
DownloadItemImpl* item = CreateDownloadItem(); |
DownloadItemImplDelegate::DownloadTargetCallback callback; |
@@ -1248,7 +1248,7 @@ TEST_F(DownloadItemTest, StealDangerousDownload) { |
} |
TEST_F(DownloadItemTest, StealInterruptedDangerousDownload) { |
- CommandLine::ForCurrentProcess()->AppendSwitch( |
+ base::CommandLine::ForCurrentProcess()->AppendSwitch( |
switches::kEnableDownloadResumption); |
base::FilePath returned_path; |
DownloadItemImpl* item = CreateDownloadItem(); |
@@ -1274,7 +1274,7 @@ TEST_F(DownloadItemTest, StealInterruptedDangerousDownload) { |
} |
TEST_F(DownloadItemTest, StealInterruptedNonResumableDangerousDownload) { |
- CommandLine::ForCurrentProcess()->AppendSwitch( |
+ base::CommandLine::ForCurrentProcess()->AppendSwitch( |
switches::kEnableDownloadResumption); |
base::FilePath returned_path; |
DownloadItemImpl* item = CreateDownloadItem(); |