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

Side by Side Diff: content/common/quarantine/quarantine.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 unified diff | Download patch
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/quarantine/quarantine_constants_linux.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/download/quarantine.h" 5 #include "content/public/common/quarantine.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #if !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(OS_LINUX) 9 #if !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(OS_LINUX)
10 10
11 namespace content { 11 namespace content {
12 12
13 QuarantineFileResult QuarantineFile(const base::FilePath& file, 13 QuarantineFileResult QuarantineFile(const base::FilePath& file,
14 const GURL& source_url, 14 const GURL& source_url,
15 const GURL& referrer_url, 15 const GURL& referrer_url,
16 const std::string& client_guid) { 16 const std::string& client_guid) {
17 return QuarantineFileResult::OK; 17 return QuarantineFileResult::OK;
18 } 18 }
19 19
20 } // namespace content 20 bool IsFileQuarantined(const base::FilePath& file,
21 const GURL& source_url,
22 const GURL& referrer_url) {
23 return false;
24 }
21 25
22 #endif // !WIN && !MAC && !LINUX 26 } // namespace content
27
28 #endif // !WIN && !MAC && !LINUX
OLDNEW
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/quarantine/quarantine_constants_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698