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

Side by Side Diff: webkit/fileapi/syncable/sync_action.h

Issue 12304015: Migrated sync_file_status, sync_action and sync_direction from fileapi:: namespace to sync_file_sys… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 10 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 #ifndef WEBKIT_FILEAPI_SYNCABLE_SYNC_ACTION_H_ 5 #ifndef WEBKIT_FILEAPI_SYNCABLE_SYNC_ACTION_H_
6 #define WEBKIT_FILEAPI_SYNCABLE_SYNC_ACTION_H_ 6 #define WEBKIT_FILEAPI_SYNCABLE_SYNC_ACTION_H_
7 7
8 namespace fileapi { 8 namespace sync_file_system {
9 9
10 // TODO(calvinlo): Move to sync_file_system namespace. http://crbug/174870.
11 enum SyncAction { 10 enum SyncAction {
12 // Indicates no action has been made. 11 // Indicates no action has been made.
13 SYNC_ACTION_NONE, 12 SYNC_ACTION_NONE,
14 13
15 // Indicates a new file or directory has been added. 14 // Indicates a new file or directory has been added.
16 SYNC_ACTION_ADDED, 15 SYNC_ACTION_ADDED,
17 16
18 // Indicates an existing file or directory has been updated. 17 // Indicates an existing file or directory has been updated.
19 SYNC_ACTION_UPDATED, 18 SYNC_ACTION_UPDATED,
20 19
21 // Indicates a file or directory has been deleted. 20 // Indicates a file or directory has been deleted.
22 SYNC_ACTION_DELETED, 21 SYNC_ACTION_DELETED,
23 }; 22 };
24 23
25 } // namespace fileapi 24 } // namespace fileapi
26 25
27 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_ACTION_H_ 26 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_ACTION_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync_file_system/sync_file_system_service_unittest.cc ('k') | webkit/fileapi/syncable/sync_callbacks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698