| OLD | NEW |
| 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 #include "content/renderer/v8_value_converter_impl.h" | 5 #include "content/renderer/v8_value_converter_impl.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/values.h" | 11 #include "base/values.h" |
| 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebArrayBuffer.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebArrayBuffer.h" |
| 13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebArrayBuff
erView.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebArrayBufferView.h" |
| 14 #include "v8/include/v8.h" | 14 #include "v8/include/v8.h" |
| 15 | 15 |
| 16 using base::BinaryValue; | 16 using base::BinaryValue; |
| 17 using base::DictionaryValue; | 17 using base::DictionaryValue; |
| 18 using base::ListValue; | 18 using base::ListValue; |
| 19 using base::StringValue; | 19 using base::StringValue; |
| 20 using base::Value; | 20 using base::Value; |
| 21 | 21 |
| 22 namespace content { | 22 namespace content { |
| 23 | 23 |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 continue; | 365 continue; |
| 366 | 366 |
| 367 result->SetWithoutPathExpansion(std::string(*name_utf8, name_utf8.length()), | 367 result->SetWithoutPathExpansion(std::string(*name_utf8, name_utf8.length()), |
| 368 child.release()); | 368 child.release()); |
| 369 } | 369 } |
| 370 | 370 |
| 371 return result.release(); | 371 return result.release(); |
| 372 } | 372 } |
| 373 | 373 |
| 374 } // namespace content | 374 } // namespace content |
| OLD | NEW |