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

Unified Diff: chrome/browser/download/download_history_unittest.cc

Issue 257983002: Move downloads API to extensions namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile error for unittest Created 6 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 | « chrome/browser/download/download_history.cc ('k') | chrome/browser/download/download_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_history_unittest.cc
diff --git a/chrome/browser/download/download_history_unittest.cc b/chrome/browser/download/download_history_unittest.cc
index 0316883af53315d071c2e778266ce085da25f2e0..ecb996609f71f96cb11d978c08ba34fc14dfb9de 100644
--- a/chrome/browser/download/download_history_unittest.cc
+++ b/chrome/browser/download/download_history_unittest.cc
@@ -438,7 +438,8 @@ class DownloadHistoryTest : public testing::Test {
EXPECT_CALL(item(index), RemoveObserver(_));
EXPECT_CALL(item(index), IsTemporary()).WillRepeatedly(Return(false));
#if !defined(OS_ANDROID)
- new DownloadedByExtension(&item(index), by_extension_id, by_extension_name);
+ new extensions::DownloadedByExtension(
+ &item(index), by_extension_id, by_extension_name);
#endif
std::vector<content::DownloadItem*> items;
@@ -463,7 +464,7 @@ class DownloadHistoryTest : public testing::Test {
DISALLOW_COPY_AND_ASSIGN(DownloadHistoryTest);
};
-} // anonymous namespace
+} // namespace
// Test loading an item from the database, changing it, saving it back, removing
// it.
« no previous file with comments | « chrome/browser/download/download_history.cc ('k') | chrome/browser/download/download_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698