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

Side by Side Diff: ppapi/cpp/private/ext_crx_file_system_private.h

Issue 14188019: CRX FileSystem Pepper private API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef PPAPI_CPP_PRIVATE_EXTENSION_CRX_FILE_SYSTEM_PRIVATE_H_
6 #define PPAPI_CPP_PRIVATE_EXTENSION_CRX_FILE_SYSTEM_PRIVATE_H_
7
8 #include "ppapi/c/pp_instance.h"
9 #include "ppapi/cpp/file_system.h"
10 #include "ppapi/cpp/instance_handle.h"
11
12 namespace pp {
13
14 class CompletionCallback;
15
16 class ExtCrxFileSystemPrivate : public FileSystem {
yzshen1 2013/04/30 19:31:19 It doesn't make sense to inherit from FileSystem.
victorhsieh 2013/04/30 22:04:32 That's true, but if we don't do this, we'll have t
yzshen1 2013/05/01 17:45:10 You could create a subclass of FileRef, say, ExtCr
victorhsieh 2013/05/02 18:59:06 Done.
17 public:
18 ExtCrxFileSystemPrivate();
19 explicit ExtCrxFileSystemPrivate(const InstanceHandle& instance);
20 explicit ExtCrxFileSystemPrivate(const ExtCrxFileSystemPrivate& other);
21 virtual ~ExtCrxFileSystemPrivate();
22
23 int32_t Open(const CompletionCallback& cc);
24 };
25
26 } // namespace pp
27
28 #endif // PPAPI_CPP_PRIVATE_EXTENSION_CRX_FILE_SYSTEM_PRIVATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698