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

Unified Diff: content/common/quarantine/quarantine_win_unittest.cc

Issue 2124373002: [PPAPI] Quarantine files that are writeable by a Pepper plugin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@consolidate-file-metadata
Patch Set: Address comments. Created 4 years 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 | « content/common/quarantine/quarantine_win.cc ('k') | content/public/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/quarantine/quarantine_win_unittest.cc
diff --git a/content/browser/download/quarantine_win_unittest.cc b/content/common/quarantine/quarantine_win_unittest.cc
similarity index 98%
rename from content/browser/download/quarantine_win_unittest.cc
rename to content/common/quarantine/quarantine_win_unittest.cc
index 5a2ba0ac867fb5532d13d8a0c63efda855e4b652..7ad6079c3b2219b8ecc4f0140d5e501f5c8ef429 100644
--- a/content/browser/download/quarantine_win_unittest.cc
+++ b/content/common/quarantine/quarantine_win_unittest.cc
@@ -12,7 +12,7 @@
#include "base/macros.h"
#include "base/test/histogram_tester.h"
#include "base/test/test_file_util.h"
-#include "content/browser/download/quarantine.h"
+#include "content/public/common/quarantine.h"
#include "net/base/filename_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
@@ -65,10 +65,8 @@ TEST(QuarantineWinTest, LocalFile_DependsOnLocalConfig) {
ASSERT_TRUE(test_dir.CreateUniqueTempDir());
base::FilePath test_file = test_dir.GetPath().AppendASCII("foo.exe");
- const char* const kLocalSourceURLs[] = {
- "http://localhost/foo",
- "file:///C:/some-local-dir/foo.exe"
- };
+ const char* const kLocalSourceURLs[] = {"http://localhost/foo",
+ "file:///C:/some-local-dir/foo.exe"};
for (const auto source_url : kLocalSourceURLs) {
SCOPED_TRACE(::testing::Message() << "Trying URL " << source_url);
« no previous file with comments | « content/common/quarantine/quarantine_win.cc ('k') | content/public/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698