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

Unified Diff: ppapi/cpp/file_io.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/c/trusted/ppb_file_io_trusted.h ('k') | ppapi/cpp/file_io.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/file_io.h
===================================================================
--- ppapi/cpp/file_io.h (revision 89748)
+++ ppapi/cpp/file_io.h (working copy)
@@ -1,34 +1,34 @@
-// 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_IO_DEV_H_
-#define PPAPI_CPP_DEV_FILE_IO_DEV_H_
+#ifndef PPAPI_CPP_FILE_IO_H_
+#define PPAPI_CPP_FILE_IO_H_
#include "ppapi/c/pp_time.h"
#include "ppapi/cpp/resource.h"
-struct PP_FileInfo_Dev;
+struct PP_FileInfo;
namespace pp {
class CompletionCallback;
-class FileRef_Dev;
+class FileRef;
class Instance;
-class FileIO_Dev : public Resource {
+class FileIO: public Resource {
public:
// Constructs an is_null resource.
- FileIO_Dev();
+ FileIO();
- FileIO_Dev(Instance* instance);
- FileIO_Dev(const FileIO_Dev& other);
+ FileIO(Instance* instance);
+ FileIO(const FileIO& other);
// PPB_FileIO methods:
- int32_t Open(const FileRef_Dev& file_ref,
+ int32_t Open(const FileRef& file_ref,
int32_t open_flags,
const CompletionCallback& cc);
- int32_t Query(PP_FileInfo_Dev* result_buf,
+ int32_t Query(PP_FileInfo* result_buf,
const CompletionCallback& cc);
int32_t Touch(PP_Time last_access_time,
PP_Time last_modified_time,
@@ -49,4 +49,4 @@
} // namespace pp
-#endif // PPAPI_CPP_DEV_FILE_IO_DEV_H_
+#endif // PPAPI_CPP_FILE_IO_H_
« no previous file with comments | « ppapi/c/trusted/ppb_file_io_trusted.h ('k') | ppapi/cpp/file_io.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698