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

Side by Side Diff: ppapi/cpp/private/ext_crx_file_ref_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, 8 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_EXT_CRX_FILE_REF_PRIVATE_H
6 #define PPAPI_CPP_PRIVATE_EXT_CRX_FILE_REF_PRIVATE_H
7
8 #include "ppapi/cpp/file_ref.h"
9 #include "ppapi/cpp/private/ext_crx_file_system_private.h"
10
11 namespace pp {
12
13 // Private FileRef interface for CRX filesystem support.
14 class ExtCrxFileRefPrivate : public FileRef {
15 public:
16 /// Default constructor for creating an is_null() <code>FileRef</code>
17 /// object.
18 ExtCrxFileRefPrivate() {}
19
20 /// A constructor that creates a weak pointer to a file in the given CRX file
21 /// system. File paths are POSIX style.
22 ///
23 /// @param[in] resource A <code>ExtCrxFileSystemPrivate</code>.
24 /// @param[in] path A path to the file.
25 ExtCrxFileRefPrivate(const ExtCrxFileSystemPrivate& file_system,
26 const char* path) {
teravest 2013/04/18 16:10:38 nit: whitespace looks funky here.
victorhsieh 2013/04/18 19:28:38 Done.
27 CommonCreate(file_system.pp_resource(), path);
28 }
29 };
30
31 } // namespace pp
32
33 #endif // PPAPI_CPP_PRIVATE_EXT_CRX_FILE_REF_PRIVATE_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698