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

Side by Side Diff: content/browser/file_metadata_mac.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CONTENT_BROWSER_FILE_METADATA_MAC_H_ 5 #ifndef CONTENT_BROWSER_FILE_METADATA_MAC_H_
6 #define CONTENT_BROWSER_FILE_METADATA_MAC_H_ 6 #define CONTENT_BROWSER_FILE_METADATA_MAC_H_
7 #pragma once
8 7
9 class FilePath; 8 class FilePath;
10 class GURL; 9 class GURL;
11 10
12 namespace file_metadata { 11 namespace file_metadata {
13 12
14 // Adds origin metadata to the file. 13 // Adds origin metadata to the file.
15 // |source| should be the source URL for the download, and |referrer| should be 14 // |source| should be the source URL for the download, and |referrer| should be
16 // the URL the user initiated the download from. 15 // the URL the user initiated the download from.
17 void AddOriginMetadataToFile(const FilePath& file, const GURL& source, 16 void AddOriginMetadataToFile(const FilePath& file, const GURL& source,
18 const GURL& referrer); 17 const GURL& referrer);
19 18
20 // Adds quarantine metadata to the file, assuming it has already been 19 // Adds quarantine metadata to the file, assuming it has already been
21 // quarantined by the OS. 20 // quarantined by the OS.
22 // |source| should be the source URL for the download, and |referrer| should be 21 // |source| should be the source URL for the download, and |referrer| should be
23 // the URL the user initiated the download from. 22 // the URL the user initiated the download from.
24 void AddQuarantineMetadataToFile(const FilePath& file, const GURL& source, 23 void AddQuarantineMetadataToFile(const FilePath& file, const GURL& source,
25 const GURL& referrer); 24 const GURL& referrer);
26 25
27 } // namespace file_metadata 26 } // namespace file_metadata
28 27
29 #endif // CONTENT_BROWSER_FILE_METADATA_MAC_H_ 28 #endif // CONTENT_BROWSER_FILE_METADATA_MAC_H_
OLDNEW
« no previous file with comments | « content/browser/download/save_types.h ('k') | content/browser/fileapi/chrome_blob_storage_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698