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

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

Issue 19349002: Update the include path for WebArrayBuffer.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase onto master Created 7 years, 5 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 | « content/renderer/v8_value_converter_impl.cc ('k') | webkit/plugins/ppapi/v8_var_converter.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 PPAPI_WEBKIT_PLUGINS_PPAPI_HOST_ARRAY_BUFFER_VAR_H_ 5 #ifndef PPAPI_WEBKIT_PLUGINS_PPAPI_HOST_ARRAY_BUFFER_VAR_H_
6 #define PPAPI_WEBKIT_PLUGINS_PPAPI_HOST_ARRAY_BUFFER_VAR_H_ 6 #define PPAPI_WEBKIT_PLUGINS_PPAPI_HOST_ARRAY_BUFFER_VAR_H_
7 7
8 #include "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/shared_impl/host_resource.h" 10 #include "ppapi/shared_impl/host_resource.h"
11 #include "ppapi/shared_impl/var.h" 11 #include "ppapi/shared_impl/var.h"
12 #include "third_party/WebKit/public/web/WebArrayBuffer.h" 12 #include "third_party/WebKit/public/platform/WebArrayBuffer.h"
13 13
14 namespace webkit { 14 namespace webkit {
15 namespace ppapi { 15 namespace ppapi {
16 16
17 // Represents a host-side ArrayBufferVar. 17 // Represents a host-side ArrayBufferVar.
18 class HostArrayBufferVar : public ::ppapi::ArrayBufferVar { 18 class HostArrayBufferVar : public ::ppapi::ArrayBufferVar {
19 public: 19 public:
20 explicit HostArrayBufferVar(uint32 size_in_bytes); 20 explicit HostArrayBufferVar(uint32 size_in_bytes);
21 explicit HostArrayBufferVar(const WebKit::WebArrayBuffer& buffer); 21 explicit HostArrayBufferVar(const WebKit::WebArrayBuffer& buffer);
22 explicit HostArrayBufferVar(uint32 size_in_bytes, 22 explicit HostArrayBufferVar(uint32 size_in_bytes,
(...skipping 16 matching lines...) Expand all
39 // Tracks whether the data in the buffer is valid. 39 // Tracks whether the data in the buffer is valid.
40 bool valid_; 40 bool valid_;
41 41
42 DISALLOW_COPY_AND_ASSIGN(HostArrayBufferVar); 42 DISALLOW_COPY_AND_ASSIGN(HostArrayBufferVar);
43 }; 43 };
44 44
45 } // namespace ppapi 45 } // namespace ppapi
46 } // namespace webkit 46 } // namespace webkit
47 47
48 #endif // PPAPI_WEBKIT_PLUGINS_PPAPI_HOST_ARRAY_BUFFER_VAR_H_ 48 #endif // PPAPI_WEBKIT_PLUGINS_PPAPI_HOST_ARRAY_BUFFER_VAR_H_
OLDNEW
« no previous file with comments | « content/renderer/v8_value_converter_impl.cc ('k') | webkit/plugins/ppapi/v8_var_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698