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

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

Issue 15806012: Move webkit/fileapi/syncable/* code to webkit/browser/fileapi (final!) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 (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 #include "webkit/fileapi/syncable/local_file_sync_status.h" 5 #include "webkit/browser/fileapi/syncable/local_file_sync_status.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 using fileapi::FileSystemURL; 9 using fileapi::FileSystemURL;
10 using fileapi::FileSystemURLSet; 10 using fileapi::FileSystemURLSet;
11 11
12 namespace sync_file_system { 12 namespace sync_file_system {
13 13
14 LocalFileSyncStatus::LocalFileSyncStatus() {} 14 LocalFileSyncStatus::LocalFileSyncStatus() {}
15 15
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 FileSystemURLSet::const_reverse_iterator rupper(upper); 88 FileSystemURLSet::const_reverse_iterator rupper(upper);
89 if (upper != syncing_.end() && url.IsParent(*upper)) 89 if (upper != syncing_.end() && url.IsParent(*upper))
90 return true; 90 return true;
91 if (rupper != syncing_.rend() && 91 if (rupper != syncing_.rend() &&
92 (*rupper == url || rupper->IsParent(url))) 92 (*rupper == url || rupper->IsParent(url)))
93 return true; 93 return true;
94 return false; 94 return false;
95 } 95 }
96 96
97 } // namespace sync_file_system 97 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698