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

Side by Side Diff: chrome/browser/sync_file_system/drive_backend/drive_backend_util.h

Issue 71233003: [SyncFS] Delete local file on rename and reorganize completion (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@00_completion
Patch Set: Created 7 years, 1 month 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_BACKEND_UTIL_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_BACKEND_UTIL_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_BACKEND_UTIL_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_BACKEND_UTIL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "webkit/common/blob/scoped_file.h" 9 #include "webkit/common/blob/scoped_file.h"
10 10
(...skipping 25 matching lines...) Expand all
36 scoped_ptr<FileMetadata> CreateFileMetadataFromFileResource( 36 scoped_ptr<FileMetadata> CreateFileMetadataFromFileResource(
37 int64 change_id, 37 int64 change_id,
38 const google_apis::FileResource& resource); 38 const google_apis::FileResource& resource);
39 scoped_ptr<FileMetadata> CreateFileMetadataFromChangeResource( 39 scoped_ptr<FileMetadata> CreateFileMetadataFromChangeResource(
40 const google_apis::ChangeResource& change); 40 const google_apis::ChangeResource& change);
41 41
42 // Creates a temporary file in |dir_path|. This must be called on an 42 // Creates a temporary file in |dir_path|. This must be called on an
43 // IO-allowed thread. 43 // IO-allowed thread.
44 webkit_blob::ScopedFile CreateTemporaryFile(); 44 webkit_blob::ScopedFile CreateTemporaryFile();
45 45
46 bool HasFileAsParent(const FileDetails& details, const std::string& file_id);
47
46 } // namespace drive_backend 48 } // namespace drive_backend
47 } // namespace sync_file_system 49 } // namespace sync_file_system
48 50
49 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_BACKEND_UTIL_H_ 51 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_BACKEND_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698