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

Side by Side Diff: webkit/browser/fileapi/syncable/sync_status_code.h

Issue 16701004: Fix webkit_storage exports definitions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 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 #ifndef WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_
6 #define WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_ 6 #define WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
11 #include "webkit/storage/webkit_storage_export.h" 11 #include "webkit/browser/webkit_storage_browser_export.h"
12 12
13 namespace leveldb { 13 namespace leveldb {
14 class Status; 14 class Status;
15 } 15 }
16 16
17 namespace sync_file_system { 17 namespace sync_file_system {
18 18
19 enum SyncStatusCode { 19 enum SyncStatusCode {
20 SYNC_STATUS_OK = 0, 20 SYNC_STATUS_OK = 0,
21 SYNC_STATUS_UNKNOWN = -1000, 21 SYNC_STATUS_UNKNOWN = -1000,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 SYNC_STATUS_ABORT = -103, 54 SYNC_STATUS_ABORT = -103,
55 SYNC_STATUS_NO_CHANGE_TO_SYNC = -104, 55 SYNC_STATUS_NO_CHANGE_TO_SYNC = -104,
56 SYNC_STATUS_RETRY = -105, 56 SYNC_STATUS_RETRY = -105,
57 SYNC_STATUS_NETWORK_ERROR = -106, 57 SYNC_STATUS_NETWORK_ERROR = -106,
58 SYNC_STATUS_AUTHENTICATION_FAILED = -107, 58 SYNC_STATUS_AUTHENTICATION_FAILED = -107,
59 SYNC_STATUS_UNKNOWN_ORIGIN = -108, 59 SYNC_STATUS_UNKNOWN_ORIGIN = -108,
60 SYNC_STATUS_NOT_MODIFIED = -109, 60 SYNC_STATUS_NOT_MODIFIED = -109,
61 SYNC_STATUS_SYNC_DISABLED = -110, 61 SYNC_STATUS_SYNC_DISABLED = -110,
62 }; 62 };
63 63
64 WEBKIT_STORAGE_EXPORT std::string SyncStatusCodeToString(SyncStatusCode status); 64 WEBKIT_STORAGE_BROWSER_EXPORT std::string SyncStatusCodeToString(
65 SyncStatusCode status);
65 66
66 WEBKIT_STORAGE_EXPORT SyncStatusCode LevelDBStatusToSyncStatusCode( 67 WEBKIT_STORAGE_BROWSER_EXPORT SyncStatusCode LevelDBStatusToSyncStatusCode(
67 const leveldb::Status& status); 68 const leveldb::Status& status);
68 69
69 WEBKIT_STORAGE_EXPORT SyncStatusCode PlatformFileErrorToSyncStatusCode( 70 WEBKIT_STORAGE_BROWSER_EXPORT SyncStatusCode PlatformFileErrorToSyncStatusCode(
70 base::PlatformFileError file_error); 71 base::PlatformFileError file_error);
71 72
72 } // namespace sync_file_system 73 } // namespace sync_file_system
73 74
74 #endif // WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_ 75 #endif // WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/syncable/sync_file_metadata.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