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

Side by Side Diff: webkit/browser/fileapi/syncable/syncable_file_system_util.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/syncable_file_system_util.h" 5 #include "webkit/browser/fileapi/syncable/syncable_file_system_util.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "webkit/browser/fileapi/external_mount_points.h" 8 #include "webkit/browser/fileapi/external_mount_points.h"
9 #include "webkit/browser/fileapi/file_observers.h" 9 #include "webkit/browser/fileapi/file_observers.h"
10 #include "webkit/browser/fileapi/file_system_context.h" 10 #include "webkit/browser/fileapi/file_system_context.h"
11 #include "webkit/browser/fileapi/sandbox_file_system_backend.h" 11 #include "webkit/browser/fileapi/sandbox_file_system_backend.h"
12 #include "webkit/common/fileapi/file_system_util.h" 12 #include "webkit/common/fileapi/file_system_util.h"
13 13
14 using fileapi::ExternalMountPoints; 14 using fileapi::ExternalMountPoints;
15 using fileapi::FileSystemContext; 15 using fileapi::FileSystemContext;
16 using fileapi::FileSystemURL; 16 using fileapi::FileSystemURL;
17 using fileapi::LocalFileSystemOperation;
18 17
19 namespace sync_file_system { 18 namespace sync_file_system {
20 19
21 namespace { 20 namespace {
22 21
23 // A command switch to enable syncing directory operations in Sync FileSystem 22 // A command switch to enable syncing directory operations in Sync FileSystem
24 // API. (http://crbug.com/161442) 23 // API. (http://crbug.com/161442)
25 // TODO(kinuko): this command-line switch should be temporary. 24 // TODO(kinuko): this command-line switch should be temporary.
26 const char kEnableSyncFSDirectoryOperation[] = 25 const char kEnableSyncFSDirectoryOperation[] =
27 "enable-syncfs-directory-operation"; 26 "enable-syncfs-directory-operation";
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 was_enabled_ = IsSyncFSDirectoryOperationEnabled(); 111 was_enabled_ = IsSyncFSDirectoryOperationEnabled();
113 SetEnableSyncFSDirectoryOperation(true); 112 SetEnableSyncFSDirectoryOperation(true);
114 } 113 }
115 114
116 ScopedEnableSyncFSDirectoryOperation::~ScopedEnableSyncFSDirectoryOperation() { 115 ScopedEnableSyncFSDirectoryOperation::~ScopedEnableSyncFSDirectoryOperation() {
117 DCHECK(IsSyncFSDirectoryOperationEnabled()); 116 DCHECK(IsSyncFSDirectoryOperationEnabled());
118 SetEnableSyncFSDirectoryOperation(was_enabled_); 117 SetEnableSyncFSDirectoryOperation(was_enabled_);
119 } 118 }
120 119
121 } // namespace sync_file_system 120 } // namespace sync_file_system
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/syncable/syncable_file_system_util.h ('k') | webkit/browser/fileapi/test_file_system_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698