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

Side by Side Diff: components/drive/remove_stale_cache_files.h

Issue 1314803004: Move chrome/browser/chromeos/drive/file_system.cc (+deps) into components/drive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 5 years, 3 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
« no previous file with comments | « components/drive/file_system_unittest.cc ('k') | components/drive/remove_stale_cache_files.cc » ('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) 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 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_REMOVE_STALE_CACHE_FILES_H_ 5 #ifndef COMPONENTS_DRIVE_REMOVE_STALE_CACHE_FILES_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_REMOVE_STALE_CACHE_FILES_H_ 6 #define COMPONENTS_DRIVE_REMOVE_STALE_CACHE_FILES_H_
7 7
8 namespace drive{ 8 namespace drive{
9 namespace internal { 9 namespace internal {
10 10
11 class FileCache; 11 class FileCache;
12 class ResourceMetadata; 12 class ResourceMetadata;
13 13
14 // Removes files from |cache| which are not dirty but the MD5 is obsolete. 14 // Removes files from |cache| which are not dirty but the MD5 is obsolete.
15 // Must be run on the same task runner as |cache| and |resource_metadata| use. 15 // Must be run on the same task runner as |cache| and |resource_metadata| use.
16 void RemoveStaleCacheFiles(FileCache* cache, 16 void RemoveStaleCacheFiles(FileCache* cache,
17 ResourceMetadata* resource_metadata); 17 ResourceMetadata* resource_metadata);
18 18
19 } // namespace internal 19 } // namespace internal
20 } // namespace drive 20 } // namespace drive
21 21
22 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_REMOVE_STALE_CACHE_FILES_H_ 22 #endif // COMPONENTS_DRIVE_REMOVE_STALE_CACHE_FILES_H_
OLDNEW
« no previous file with comments | « components/drive/file_system_unittest.cc ('k') | components/drive/remove_stale_cache_files.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698