summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp/file_system.cc
diff options
context:
space:
mode:
authorvictorhsieh@chromium.org <victorhsieh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-09 05:29:36 +0000
committervictorhsieh@chromium.org <victorhsieh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-09 05:29:36 +0000
commitdeac5e5cccab3475d718553aa2abd1e58d2ede1d (patch)
tree371b132ca419d5d3d724867f2382fcbcb5972017 /ppapi/cpp/file_system.cc
parentb5c14759e92d605e8eb94b05783825c0e0085cfe (diff)
downloadchromium_src-deac5e5cccab3475d718553aa2abd1e58d2ede1d.zip
chromium_src-deac5e5cccab3475d718553aa2abd1e58d2ede1d.tar.gz
chromium_src-deac5e5cccab3475d718553aa2abd1e58d2ede1d.tar.bz2
pp::FileSystem: add copy constrctor
This will make the output callback of ExtCrxFileSystemPrivate.Open easier to use. BUG=223301 Review URL: https://chromiumcodereview.appspot.com/14576007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199121 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/cpp/file_system.cc')
-rw-r--r--ppapi/cpp/file_system.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ppapi/cpp/file_system.cc b/ppapi/cpp/file_system.cc
index de14c36..f993fda 100644
--- a/ppapi/cpp/file_system.cc
+++ b/ppapi/cpp/file_system.cc
@@ -25,6 +25,9 @@ template <> const char* interface_name<PPB_FileSystem_1_0>() {
FileSystem::FileSystem() {
}
+FileSystem::FileSystem(const FileSystem& other) : Resource(other) {
+}
+
FileSystem::FileSystem(PassRef, PP_Resource resource)
: Resource(PASS_REF, resource) {
}