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

Side by Side Diff: webkit/browser/fileapi/syncable/local_file_sync_context.cc

Issue 21370003: Rename fileapi::LocalFileSystemOperation to FileSystemOperationImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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
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 #include "webkit/browser/fileapi/syncable/local_file_sync_context.h" 5 #include "webkit/browser/fileapi/syncable/local_file_sync_context.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/platform_file.h" 9 #include "base/platform_file.h"
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
(...skipping 10 matching lines...) Expand all
21 #include "webkit/browser/fileapi/syncable/sync_file_metadata.h" 21 #include "webkit/browser/fileapi/syncable/sync_file_metadata.h"
22 #include "webkit/browser/fileapi/syncable/syncable_file_operation_runner.h" 22 #include "webkit/browser/fileapi/syncable/syncable_file_operation_runner.h"
23 #include "webkit/browser/fileapi/syncable/syncable_file_system_util.h" 23 #include "webkit/browser/fileapi/syncable/syncable_file_system_util.h"
24 #include "webkit/common/fileapi/file_system_util.h" 24 #include "webkit/common/fileapi/file_system_util.h"
25 25
26 using fileapi::FileSystemContext; 26 using fileapi::FileSystemContext;
27 using fileapi::FileSystemFileUtil; 27 using fileapi::FileSystemFileUtil;
28 using fileapi::FileSystemOperation; 28 using fileapi::FileSystemOperation;
29 using fileapi::FileSystemOperationContext; 29 using fileapi::FileSystemOperationContext;
30 using fileapi::FileSystemURL; 30 using fileapi::FileSystemURL;
31 using fileapi::LocalFileSystemOperation;
32 31
33 namespace sync_file_system { 32 namespace sync_file_system {
34 33
35 namespace { 34 namespace {
36 35
37 const int kMaxConcurrentSyncableOperation = 3; 36 const int kMaxConcurrentSyncableOperation = 3;
38 const int kNotifyChangesDurationInSec = 1; 37 const int kNotifyChangesDurationInSec = 1;
39 const int kMaxURLsToFetchForLocalSync = 5; 38 const int kMaxURLsToFetchForLocalSync = 5;
40 39
41 } // namespace 40 } // namespace
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 return; 734 return;
736 } 735 }
737 736
738 FileSystemURL url_for_sync = CreateSyncableFileSystemURLForSync( 737 FileSystemURL url_for_sync = CreateSyncableFileSystemURLForSync(
739 file_system_context, dest_url); 738 file_system_context, dest_url);
740 file_system_context->operation_runner()->CopyInForeignFile( 739 file_system_context->operation_runner()->CopyInForeignFile(
741 local_path, url_for_sync, callback); 740 local_path, url_for_sync, callback);
742 } 741 }
743 742
744 } // namespace sync_file_system 743 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698