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

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

Issue 7388002: Move dependencies of download\base_file from chrome to content. These are all trivial file moves. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « content/browser/file_metadata_mac.h ('k') | content/browser/power_save_blocker.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 (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 #include "chrome/browser/mac/file_metadata.h" 5 #include "content/browser/file_metadata_mac.h"
6 6
7 #include <ApplicationServices/ApplicationServices.h> 7 #include <ApplicationServices/ApplicationServices.h>
8 #include <Foundation/Foundation.h> 8 #include <Foundation/Foundation.h>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/mac/mac_util.h" 12 #include "base/mac/mac_util.h"
13 #include "base/mac/scoped_cftyperef.h" 13 #include "base/mac/scoped_cftyperef.h"
14 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
15 15
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 OSStatus os_error = LSSetItemAttribute(&file_ref, kLSRolesAll, 158 OSStatus os_error = LSSetItemAttribute(&file_ref, kLSRolesAll,
159 kLSItemQuarantineProperties, 159 kLSItemQuarantineProperties,
160 quarantine_properties); 160 quarantine_properties);
161 if (os_error != noErr) { 161 if (os_error != noErr) {
162 LOG(WARNING) << "Unable to set quarantine attributes on file " 162 LOG(WARNING) << "Unable to set quarantine attributes on file "
163 << file.value(); 163 << file.value();
164 } 164 }
165 } 165 }
166 166
167 } // namespace file_metadata 167 } // namespace file_metadata
OLDNEW
« no previous file with comments | « content/browser/file_metadata_mac.h ('k') | content/browser/power_save_blocker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698