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

Side by Side Diff: third_party/leveldatabase/port/port_chromium.h

Issue 2727693004: DEPS: Update leveldatabase from 1.18 to 1.20. (Closed)
Patch Set: Addressed feedback. Created 3 years, 9 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
« no previous file with comments | « third_party/leveldatabase/README.chromium ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 1 // Copyright (c) 2011 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 // See port_example.h for documentation for the following types/functions. 5 // See port_example.h for documentation for the following types/functions.
6 6
7 #ifndef STORAGE_LEVELDB_PORT_PORT_CHROMIUM_H_ 7 #ifndef STORAGE_LEVELDB_PORT_PORT_CHROMIUM_H_
8 #define STORAGE_LEVELDB_PORT_PORT_CHROMIUM_H_ 8 #define STORAGE_LEVELDB_PORT_PORT_CHROMIUM_H_
9 9
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 std::string* output); 108 std::string* output);
109 bool Snappy_GetUncompressedLength(const char* input, size_t length, 109 bool Snappy_GetUncompressedLength(const char* input, size_t length,
110 size_t* result); 110 size_t* result);
111 bool Snappy_Uncompress(const char* input_data, size_t input_length, 111 bool Snappy_Uncompress(const char* input_data, size_t input_length,
112 char* output); 112 char* output);
113 113
114 inline bool GetHeapProfile(void (*func)(void*, const char*, int), void* arg) { 114 inline bool GetHeapProfile(void (*func)(void*, const char*, int), void* arg) {
115 return false; 115 return false;
116 } 116 }
117 117
118 } 118 // Implemented in leveldb's src/port/port_posix_sse.cc.
119 } 119 uint32_t AcceleratedCRC32C(uint32_t crc, const char* buf, size_t size);
cmumford 2017/03/02 00:36:02 Yeah, I don't like the asymmetry of using port_pos
120
121 } // namespace port
122 } // namespace leveldb
120 123
121 #endif // STORAGE_LEVELDB_PORT_PORT_CHROMIUM_H_ 124 #endif // STORAGE_LEVELDB_PORT_PORT_CHROMIUM_H_
OLDNEW
« no previous file with comments | « third_party/leveldatabase/README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698