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

Side by Side Diff: chrome/browser/sync_file_system/syncable_file_system_util.cc

Issue 26280007: Split file_observers.h into three files for each class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 "chrome/browser/sync_file_system/syncable_file_system_util.h" 5 #include "chrome/browser/sync_file_system/syncable_file_system_util.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "webkit/browser/fileapi/external_mount_points.h" 9 #include "webkit/browser/fileapi/external_mount_points.h"
10 #include "webkit/browser/fileapi/file_observers.h"
11 #include "webkit/browser/fileapi/file_system_context.h" 10 #include "webkit/browser/fileapi/file_system_context.h"
12 #include "webkit/browser/fileapi/sandbox_file_system_backend.h" 11 #include "webkit/browser/fileapi/sandbox_file_system_backend.h"
13 #include "webkit/common/fileapi/file_system_util.h" 12 #include "webkit/common/fileapi/file_system_util.h"
14 13
15 using fileapi::ExternalMountPoints; 14 using fileapi::ExternalMountPoints;
16 using fileapi::FileSystemContext; 15 using fileapi::FileSystemContext;
17 using fileapi::FileSystemURL; 16 using fileapi::FileSystemURL;
18 17
19 namespace sync_file_system { 18 namespace sync_file_system {
20 19
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 DCHECK(IsSyncFSDirectoryOperationEnabled()); 127 DCHECK(IsSyncFSDirectoryOperationEnabled());
129 SetEnableSyncFSDirectoryOperation(was_enabled_); 128 SetEnableSyncFSDirectoryOperation(was_enabled_);
130 } 129 }
131 130
132 void RunSoon(const tracked_objects::Location& from_here, 131 void RunSoon(const tracked_objects::Location& from_here,
133 const base::Closure& callback) { 132 const base::Closure& callback) {
134 base::MessageLoop::current()->PostTask(from_here, callback); 133 base::MessageLoop::current()->PostTask(from_here, callback);
135 } 134 }
136 135
137 } // namespace sync_file_system 136 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698