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

Side by Side Diff: base/file_util.h

Issue 10832378: Fix indent nit in file_util.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « no previous file | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file contains utility functions for dealing with the local 5 // This file contains utility functions for dealing with the local
6 // filesystem. 6 // filesystem.
7 7
8 #ifndef BASE_FILE_UTIL_H_ 8 #ifndef BASE_FILE_UTIL_H_
9 #define BASE_FILE_UTIL_H_ 9 #define BASE_FILE_UTIL_H_
10 10
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 // is specified in |options|. All other parameters are optional and may be NULL. 253 // is specified in |options|. All other parameters are optional and may be NULL.
254 // |source| is the existing file, |destination| is the new link file to be 254 // |source| is the existing file, |destination| is the new link file to be
255 // created; for best results pass the filename with the .lnk extension. 255 // created; for best results pass the filename with the .lnk extension.
256 // The |icon| can specify a dll or exe in which case the icon index is the 256 // The |icon| can specify a dll or exe in which case the icon index is the
257 // resource id. |app_id| is the app model id for the shortcut on Win7. 257 // resource id. |app_id| is the app model id for the shortcut on Win7.
258 // |options|: bitfield for which the options come from ShortcutOptions. 258 // |options|: bitfield for which the options come from ShortcutOptions.
259 // If SHORTCUT_CREATE_ALWAYS is not set in |options|, only specified (non-null) 259 // If SHORTCUT_CREATE_ALWAYS is not set in |options|, only specified (non-null)
260 // properties on an existing shortcut will be modified. If the shortcut does not 260 // properties on an existing shortcut will be modified. If the shortcut does not
261 // exist, this method is a no-op and returns false. 261 // exist, this method is a no-op and returns false.
262 BASE_EXPORT bool CreateOrUpdateShortcutLink(const wchar_t *source, 262 BASE_EXPORT bool CreateOrUpdateShortcutLink(const wchar_t *source,
263 const wchar_t *destination, 263 const wchar_t *destination,
264 const wchar_t *working_dir, 264 const wchar_t *working_dir,
265 const wchar_t *arguments, 265 const wchar_t *arguments,
266 const wchar_t *description, 266 const wchar_t *description,
267 const wchar_t *icon, 267 const wchar_t *icon,
268 int icon_index, 268 int icon_index,
269 const wchar_t* app_id, 269 const wchar_t* app_id,
270 uint32 options); 270 uint32 options);
271 271
272 // Pins a shortcut to the Windows 7 taskbar. The shortcut file must already 272 // Pins a shortcut to the Windows 7 taskbar. The shortcut file must already
273 // exist and be a shortcut that points to an executable. 273 // exist and be a shortcut that points to an executable.
274 BASE_EXPORT bool TaskbarPinShortcutLink(const wchar_t* shortcut); 274 BASE_EXPORT bool TaskbarPinShortcutLink(const wchar_t* shortcut);
275 275
276 // Unpins a shortcut from the Windows 7 taskbar. The shortcut must exist and 276 // Unpins a shortcut from the Windows 7 taskbar. The shortcut must exist and
277 // already be pinned to the taskbar. 277 // already be pinned to the taskbar.
278 BASE_EXPORT bool TaskbarUnpinShortcutLink(const wchar_t* shortcut); 278 BASE_EXPORT bool TaskbarUnpinShortcutLink(const wchar_t* shortcut);
279 279
280 // Copy from_path to to_path recursively and then delete from_path recursively. 280 // Copy from_path to to_path recursively and then delete from_path recursively.
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 }; 671 };
672 672
673 // Attempts determine the FileSystemType for |path|. 673 // Attempts determine the FileSystemType for |path|.
674 // Returns false if |path| doesn't exist. 674 // Returns false if |path| doesn't exist.
675 BASE_EXPORT bool GetFileSystemType(const FilePath& path, FileSystemType* type); 675 BASE_EXPORT bool GetFileSystemType(const FilePath& path, FileSystemType* type);
676 #endif 676 #endif
677 677
678 } // namespace file_util 678 } // namespace file_util
679 679
680 #endif // BASE_FILE_UTIL_H_ 680 #endif // BASE_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698