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

Side by Side Diff: webkit/plugins/ppapi/ppb_file_ref_impl.h

Issue 14720012: Relanding this as the previous attempt failed due to build errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « webkit/plugins/plugin_switches.h ('k') | webkit/plugins/ppapi/ppb_scrollbar_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_FILE_REF_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_FILE_REF_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_FILE_REF_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPB_FILE_REF_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/memory/linked_ptr.h" 12 #include "base/memory/linked_ptr.h"
13 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
14 #include "ppapi/c/pp_file_info.h" 14 #include "ppapi/c/pp_file_info.h"
15 #include "ppapi/c/ppb_file_ref.h" 15 #include "ppapi/c/ppb_file_ref.h"
16 #include "ppapi/shared_impl/ppb_file_ref_shared.h" 16 #include "ppapi/shared_impl/ppb_file_ref_shared.h"
17 #include "ppapi/shared_impl/scoped_pp_resource.h" 17 #include "ppapi/shared_impl/scoped_pp_resource.h"
18 #include "ppapi/shared_impl/var.h" 18 #include "ppapi/shared_impl/var.h"
19 #include "webkit/glue/webkit_glue_export.h"
20 #include "webkit/plugins/ppapi/file_callbacks.h" 19 #include "webkit/plugins/ppapi/file_callbacks.h"
20 #include "webkit/plugins/webkit_plugins_export.h"
21 21
22 namespace webkit { 22 namespace webkit {
23 namespace ppapi { 23 namespace ppapi {
24 24
25 using ::ppapi::StringVar; 25 using ::ppapi::StringVar;
26 26
27 class PPB_FileSystem_Impl; 27 class PPB_FileSystem_Impl;
28 28
29 class WEBKIT_GLUE_EXPORT PPB_FileRef_Impl 29 class WEBKIT_PLUGINS_EXPORT PPB_FileRef_Impl
30 : public ::ppapi::PPB_FileRef_Shared { 30 : public ::ppapi::PPB_FileRef_Shared {
31 public: 31 public:
32 PPB_FileRef_Impl(const ::ppapi::PPB_FileRef_CreateInfo& info, 32 PPB_FileRef_Impl(const ::ppapi::PPB_FileRef_CreateInfo& info,
33 PP_Resource file_system); 33 PP_Resource file_system);
34 PPB_FileRef_Impl(const ::ppapi::PPB_FileRef_CreateInfo& info, 34 PPB_FileRef_Impl(const ::ppapi::PPB_FileRef_CreateInfo& info,
35 const base::FilePath& external_file_path); 35 const base::FilePath& external_file_path);
36 virtual ~PPB_FileRef_Impl(); 36 virtual ~PPB_FileRef_Impl();
37 37
38 // The returned object will have a refcount of 0 (just like "new"). 38 // The returned object will have a refcount of 0 (just like "new").
39 static PPB_FileRef_Impl* CreateInternal(PP_Instance instance, 39 static PPB_FileRef_Impl* CreateInternal(PP_Instance instance,
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 // return the identical string object every time it is requested. 119 // return the identical string object every time it is requested.
120 scoped_refptr<StringVar> external_path_var_; 120 scoped_refptr<StringVar> external_path_var_;
121 121
122 DISALLOW_COPY_AND_ASSIGN(PPB_FileRef_Impl); 122 DISALLOW_COPY_AND_ASSIGN(PPB_FileRef_Impl);
123 }; 123 };
124 124
125 } // namespace ppapi 125 } // namespace ppapi
126 } // namespace webkit 126 } // namespace webkit
127 127
128 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FILE_REF_IMPL_H_ 128 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FILE_REF_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/plugins/plugin_switches.h ('k') | webkit/plugins/ppapi/ppb_scrollbar_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698