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

Side by Side Diff: webkit/browser/fileapi/syncable/sync_status_code.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/sync_status_code.h" 5 #include "webkit/browser/fileapi/syncable/sync_status_code.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "third_party/leveldatabase/src/include/leveldb/db.h" 8 #include "third_party/leveldatabase/src/include/leveldb/db.h"
9 9
10 namespace sync_file_system { 10 namespace sync_file_system {
11 11
12 std::string SyncStatusCodeToString(SyncStatusCode status) { 12 std::string SyncStatusCodeToString(SyncStatusCode status) {
13 switch (status) { 13 switch (status) {
14 case SYNC_STATUS_OK: 14 case SYNC_STATUS_OK:
15 return "OK."; 15 return "OK.";
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 case base::PLATFORM_FILE_ERROR_NOT_EMPTY: 136 case base::PLATFORM_FILE_ERROR_NOT_EMPTY:
137 return SYNC_FILE_ERROR_NOT_EMPTY; 137 return SYNC_FILE_ERROR_NOT_EMPTY;
138 case base::PLATFORM_FILE_ERROR_INVALID_URL: 138 case base::PLATFORM_FILE_ERROR_INVALID_URL:
139 return SYNC_FILE_ERROR_INVALID_URL; 139 return SYNC_FILE_ERROR_INVALID_URL;
140 default: 140 default:
141 return SYNC_FILE_ERROR_FAILED; 141 return SYNC_FILE_ERROR_FAILED;
142 } 142 }
143 } 143 }
144 144
145 } // namespace sync_file_system 145 } // namespace sync_file_system
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/syncable/sync_status_code.h ('k') | webkit/browser/fileapi/syncable/syncable_file_operation_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698