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

Unified Diff: ppapi/proxy/flash_file_resource.h

Issue 1097393007: Update {virtual,override} to follow C++11 style in ppapi. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split off one file into separate review. Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/flash_drm_resource.h ('k') | ppapi/proxy/flash_font_file_resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/flash_file_resource.h
diff --git a/ppapi/proxy/flash_file_resource.h b/ppapi/proxy/flash_file_resource.h
index 04d6ed9bfecd5008cd76bb45c15921e70401f642..ea35152c8f66a8057537894da4b6de5a1dd4f755 100644
--- a/ppapi/proxy/flash_file_resource.h
+++ b/ppapi/proxy/flash_file_resource.h
@@ -20,40 +20,40 @@ class FlashFileResource
public thunk::PPB_Flash_File_API {
public:
FlashFileResource(Connection connection, PP_Instance instance);
- virtual ~FlashFileResource();
+ ~FlashFileResource() override;
// Resource overrides.
- virtual thunk::PPB_Flash_File_API* AsPPB_Flash_File_API() override;
+ thunk::PPB_Flash_File_API* AsPPB_Flash_File_API() override;
// PPB_Flash_Functions_API.
- virtual int32_t OpenFile(PP_Instance instance,
- const char* path,
- int32_t mode,
- PP_FileHandle* file) override;
- virtual int32_t RenameFile(PP_Instance instance,
- const char* path_from,
- const char* path_to) override;
- virtual int32_t DeleteFileOrDir(PP_Instance instance,
- const char* path,
- PP_Bool recursive) override;
- virtual int32_t CreateDir(PP_Instance instance, const char* path) override;
- virtual int32_t QueryFile(PP_Instance instance,
- const char* path,
- PP_FileInfo* info) override;
- virtual int32_t GetDirContents(PP_Instance instance,
- const char* path,
- PP_DirContents_Dev** contents) override;
- virtual void FreeDirContents(PP_Instance instance,
- PP_DirContents_Dev* contents) override;
- virtual int32_t CreateTemporaryFile(PP_Instance instance,
- PP_FileHandle* file) override;
- virtual int32_t OpenFileRef(PP_Instance instance,
- PP_Resource file_ref,
- int32_t mode,
+ int32_t OpenFile(PP_Instance instance,
+ const char* path,
+ int32_t mode,
+ PP_FileHandle* file) override;
+ int32_t RenameFile(PP_Instance instance,
+ const char* path_from,
+ const char* path_to) override;
+ int32_t DeleteFileOrDir(PP_Instance instance,
+ const char* path,
+ PP_Bool recursive) override;
+ int32_t CreateDir(PP_Instance instance, const char* path) override;
+ int32_t QueryFile(PP_Instance instance,
+ const char* path,
+ PP_FileInfo* info) override;
+ int32_t GetDirContents(PP_Instance instance,
+ const char* path,
+ PP_DirContents_Dev** contents) override;
+ void FreeDirContents(PP_Instance instance,
+ PP_DirContents_Dev* contents) override;
+ int32_t CreateTemporaryFile(PP_Instance instance,
PP_FileHandle* file) override;
- virtual int32_t QueryFileRef(PP_Instance instance,
- PP_Resource file_ref,
- PP_FileInfo* info) override;
+ int32_t OpenFileRef(PP_Instance instance,
+ PP_Resource file_ref,
+ int32_t mode,
+ PP_FileHandle* file) override;
+ int32_t QueryFileRef(PP_Instance instance,
+ PP_Resource file_ref,
+ PP_FileInfo* info) override;
private:
int32_t OpenFileHelper(const std::string& path,
« no previous file with comments | « ppapi/proxy/flash_drm_resource.h ('k') | ppapi/proxy/flash_font_file_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698