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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/googledrivefs/googledrivefs.cc

Issue 2937083003: [NaCl SDK] Add comments in the implementation code of GoogleDriveFs (Closed)
Patch Set: Created 3 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "nacl_io/googledrivefs/googledrivefs.h" 5 #include "nacl_io/googledrivefs/googledrivefs.h"
6 6
7 #include "nacl_io/filesystem.h" 7 #include "nacl_io/filesystem.h"
8 #include "nacl_io/node.h" 8 #include "nacl_io/node.h"
9 #include "nacl_io/path.h" 9 #include "nacl_io/path.h"
10 10
11 namespace nacl_io { 11 namespace nacl_io {
12 12
13 // This is not further implemented.
14 // PNaCl is on a path to deprecation, and WebAssembly is
15 // the focused technology.
16
13 GoogleDriveFs::GoogleDriveFs() {} 17 GoogleDriveFs::GoogleDriveFs() {}
14 18
15 Error GoogleDriveFs::Init(const FsInitArgs& args) { 19 Error GoogleDriveFs::Init(const FsInitArgs& args) {
16 // TODO: support init 20 // TODO: support init
17 LOG_ERROR("init not supported."); 21 LOG_ERROR("init not supported.");
18 return EPERM; 22 return EPERM;
19 } 23 }
20 24
21 Error GoogleDriveFs::OpenWithMode(const Path& path, 25 Error GoogleDriveFs::OpenWithMode(const Path& path,
22 int open_flags, 26 int open_flags,
(...skipping 28 matching lines...) Expand all
51 return EPERM; 55 return EPERM;
52 } 56 }
53 57
54 Error GoogleDriveFs::Remove(const Path& path) { 58 Error GoogleDriveFs::Remove(const Path& path) {
55 // TODO: support remove 59 // TODO: support remove
56 LOG_ERROR("remove not supported."); 60 LOG_ERROR("remove not supported.");
57 return EPERM; 61 return EPERM;
58 } 62 }
59 63
60 } // namespace nacl_io 64 } // namespace nacl_io
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698