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

Unified Diff: native_client_sdk/src/libraries/nacl_io/hash.h

Issue 2156503002: [NaCl SDK] Expose Google Drive to nacl_io. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/nacl_io/hash.h
diff --git a/native_client_sdk/src/libraries/nacl_io/hash.h b/native_client_sdk/src/libraries/nacl_io/hash.h
new file mode 100644
index 0000000000000000000000000000000000000000..b2589c08f93258ac0cacfa125ea5177c8ca550be
--- /dev/null
+++ b/native_client_sdk/src/libraries/nacl_io/hash.h
@@ -0,0 +1,18 @@
+// Copyright (c) 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef LIBRARIES_NACL_IO_HASH_H_
+#define LIBRARIES_NACL_IO_HASH_H_
+
+#include "nacl_io/osdirent.h"
+#include "nacl_io/path.h"
+
+namespace nacl_io {
+
+ino_t HashPathSegment(ino_t hash, const char* str, size_t len);
+ino_t HashPath(const Path& path);
+
+} // namespace nacl_io
+
+#endif // LIBRARIES_NACL_IO_HASH_H_

Powered by Google App Engine
This is Rietveld 408576698