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

Side by Side Diff: content/renderer/pepper/pepper_file_ref_renderer_host.h

Issue 225903006: PPAPI: Run clang_format.py on content/renderer/pepper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_RENDERER_PEPPER_PEPPER_FILE_REF_RENDERER_HOST_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_FILE_REF_RENDERER_HOST_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_FILE_REF_RENDERER_HOST_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_FILE_REF_RENDERER_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "content/public/renderer/renderer_ppapi_host.h" 13 #include "content/public/renderer/renderer_ppapi_host.h"
14 #include "content/renderer/pepper/pepper_file_system_host.h" 14 #include "content/renderer/pepper/pepper_file_system_host.h"
15 #include "ipc/ipc_message.h" 15 #include "ipc/ipc_message.h"
16 #include "ppapi/c/pp_file_info.h" 16 #include "ppapi/c/pp_file_info.h"
17 #include "ppapi/c/pp_instance.h" 17 #include "ppapi/c/pp_instance.h"
18 #include "ppapi/c/pp_resource.h" 18 #include "ppapi/c/pp_resource.h"
19 #include "ppapi/host/host_message_context.h" 19 #include "ppapi/host/host_message_context.h"
20 #include "ppapi/host/resource_host.h" 20 #include "ppapi/host/resource_host.h"
21 #include "url/gurl.h" 21 #include "url/gurl.h"
22 22
23 namespace content { 23 namespace content {
24 24
25 class PepperFileRefRendererHost 25 class PepperFileRefRendererHost : public ppapi::host::ResourceHost {
26 : public ppapi::host::ResourceHost {
27 public: 26 public:
28 PepperFileRefRendererHost(RendererPpapiHost* host, 27 PepperFileRefRendererHost(RendererPpapiHost* host,
29 PP_Instance instance, 28 PP_Instance instance,
30 PP_Resource resource, 29 PP_Resource resource,
31 PP_Resource file_system, 30 PP_Resource file_system,
32 const std::string& internal_path); 31 const std::string& internal_path);
33 32
34 PepperFileRefRendererHost(RendererPpapiHost* host, 33 PepperFileRefRendererHost(RendererPpapiHost* host,
35 PP_Instance instance, 34 PP_Instance instance,
36 PP_Resource resource, 35 PP_Resource resource,
(...skipping 16 matching lines...) Expand all
53 std::string internal_path_; 52 std::string internal_path_;
54 base::FilePath external_path_; 53 base::FilePath external_path_;
55 base::WeakPtr<PepperFileSystemHost> fs_host_; 54 base::WeakPtr<PepperFileSystemHost> fs_host_;
56 55
57 DISALLOW_COPY_AND_ASSIGN(PepperFileRefRendererHost); 56 DISALLOW_COPY_AND_ASSIGN(PepperFileRefRendererHost);
58 }; 57 };
59 58
60 } // namespace content 59 } // namespace content
61 60
62 #endif // CONTENT_RENDERER_PEPPER_PEPPER_FILE_REF_RENDERER_HOST_H_ 61 #endif // CONTENT_RENDERER_PEPPER_PEPPER_FILE_REF_RENDERER_HOST_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_file_chooser_host_unittest.cc ('k') | content/renderer/pepper/pepper_file_ref_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698