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

Side by Side Diff: third_party/leveldatabase/env_chromium.h

Issue 26513005: Report errors from ChromiumEnv::GetChildren in Posix. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add comment to PlatformFileError 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 (c) 2013 The LevelDB Authors. All rights reserved. 1 // Copyright (c) 2013 The LevelDB 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. See the AUTHORS file for names of contributors. 3 // found in the LICENSE file. See the AUTHORS file for names of contributors.
4 4
5 #ifndef THIRD_PARTY_LEVELDATABASE_ENV_CHROMIUM_H_ 5 #ifndef THIRD_PARTY_LEVELDATABASE_ENV_CHROMIUM_H_
6 #define THIRD_PARTY_LEVELDATABASE_ENV_CHROMIUM_H_ 6 #define THIRD_PARTY_LEVELDATABASE_ENV_CHROMIUM_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 23 matching lines...) Expand all
34 kDeleteFile, 34 kDeleteFile,
35 kCreateDir, 35 kCreateDir,
36 kDeleteDir, 36 kDeleteDir,
37 kGetFileSize, 37 kGetFileSize,
38 kRenameFile, 38 kRenameFile,
39 kLockFile, 39 kLockFile,
40 kUnlockFile, 40 kUnlockFile,
41 kGetTestDirectory, 41 kGetTestDirectory,
42 kNewLogger, 42 kNewLogger,
43 kSyncParent, 43 kSyncParent,
44 kGetChildren,
44 kNumEntries 45 kNumEntries
45 }; 46 };
46 47
47 const char* MethodIDToString(MethodID method); 48 const char* MethodIDToString(MethodID method);
48 49
49 leveldb::Status MakeIOError(leveldb::Slice filename, 50 leveldb::Status MakeIOError(leveldb::Slice filename,
50 const char* message, 51 const char* message,
51 MethodID method, 52 MethodID method,
52 int saved_errno); 53 int saved_errno);
53 leveldb::Status MakeIOError(leveldb::Slice filename, 54 leveldb::Status MakeIOError(leveldb::Slice filename,
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 void (*function)(void*); 231 void (*function)(void*);
231 }; 232 };
232 typedef std::deque<BGItem> BGQueue; 233 typedef std::deque<BGItem> BGQueue;
233 BGQueue queue_; 234 BGQueue queue_;
234 LockTable locks_; 235 LockTable locks_;
235 }; 236 };
236 237
237 } // namespace leveldb_env 238 } // namespace leveldb_env
238 239
239 #endif 240 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698