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

Unified Diff: ppapi/cpp/file_ref.h

Issue 7210027: Part I of many. Moving FileIO, FileRef, and FileSystem out of Dev. For now, just copying over s... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/cpp/file_io.cc ('k') | ppapi/cpp/file_ref.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/file_ref.h
===================================================================
--- ppapi/cpp/file_ref.h (revision 89748)
+++ ppapi/cpp/file_ref.h (working copy)
@@ -1,41 +1,41 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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 PPAPI_CPP_DEV_FILE_REF_DEV_H_
-#define PPAPI_CPP_DEV_FILE_REF_DEV_H_
+#ifndef PPAPI_CPP_FILE_REF_H_
+#define PPAPI_CPP_FILE_REF_H_
-#include "ppapi/c/dev/ppb_file_ref_dev.h"
#include "ppapi/c/pp_stdint.h"
+#include "ppapi/c/ppb_file_ref.h"
#include "ppapi/cpp/resource.h"
#include "ppapi/cpp/var.h"
namespace pp {
class CompletionCallback;
-class FileSystem_Dev;
+class FileSystem;
-class FileRef_Dev : public Resource {
+class FileRef: public Resource {
public:
// Creates an is_null() FileRef object.
- FileRef_Dev() {}
+ FileRef() {}
// This constructor is used when we've gotten a PP_Resource as a return value
// that we need to addref.
- explicit FileRef_Dev(PP_Resource resource);
+ explicit FileRef(PP_Resource resource);
// This constructor is used when we've gotten a PP_Resource as a return value
// that has already been addref'ed for us.
struct PassRef {};
- FileRef_Dev(PassRef, PP_Resource resource);
+ FileRef(PassRef, PP_Resource resource);
// Creates a FileRef pointing to a path in the given filesystem.
- FileRef_Dev(const FileSystem_Dev& file_system, const char* path);
+ FileRef(const FileSystem& file_system, const char* path);
- FileRef_Dev(const FileRef_Dev& other);
+ FileRef(const FileRef& other);
// Returns the file system type.
- PP_FileSystemType_Dev GetFileSystemType() const;
+ PP_FileSystemType GetFileSystemType() const;
// Returns the name of the file.
Var GetName() const;
@@ -46,7 +46,7 @@
// Returns the parent directory of this file. See PPB_FileRef::GetParent for
// more details.
- FileRef_Dev GetParent() const;
+ FileRef GetParent() const;
int32_t MakeDirectory(const CompletionCallback& cc);
@@ -58,7 +58,7 @@
int32_t Delete(const CompletionCallback& cc);
- int32_t Rename(const FileRef_Dev& new_file_ref, const CompletionCallback& cc);
+ int32_t Rename(const FileRef& new_file_ref, const CompletionCallback& cc);
};
} // namespace pp
« no previous file with comments | « ppapi/cpp/file_io.cc ('k') | ppapi/cpp/file_ref.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698