| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_JAVA_GIN_JAVA_BRIDGE_VALUE_CONVERTER_H_ | 5 #ifndef CONTENT_RENDERER_JAVA_GIN_JAVA_BRIDGE_VALUE_CONVERTER_H_ |
| 6 #define CONTENT_RENDERER_JAVA_GIN_JAVA_BRIDGE_VALUE_CONVERTER_H_ | 6 #define CONTENT_RENDERER_JAVA_GIN_JAVA_BRIDGE_VALUE_CONVERTER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 9 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| 10 #include "content/public/child/v8_value_converter.h" | 11 #include "content/public/child/v8_value_converter.h" |
| 11 | 12 |
| 12 namespace content { | 13 namespace content { |
| 13 | 14 |
| 14 class GinJavaBridgeValueConverter : public content::V8ValueConverter::Strategy { | 15 class GinJavaBridgeValueConverter : public content::V8ValueConverter::Strategy { |
| 15 public: | 16 public: |
| 16 CONTENT_EXPORT GinJavaBridgeValueConverter(); | 17 CONTENT_EXPORT GinJavaBridgeValueConverter(); |
| 17 CONTENT_EXPORT ~GinJavaBridgeValueConverter() override; | 18 CONTENT_EXPORT ~GinJavaBridgeValueConverter() override; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 37 | 38 |
| 38 private: | 39 private: |
| 39 scoped_ptr<V8ValueConverter> converter_; | 40 scoped_ptr<V8ValueConverter> converter_; |
| 40 | 41 |
| 41 DISALLOW_COPY_AND_ASSIGN(GinJavaBridgeValueConverter); | 42 DISALLOW_COPY_AND_ASSIGN(GinJavaBridgeValueConverter); |
| 42 }; | 43 }; |
| 43 | 44 |
| 44 } // namespace content | 45 } // namespace content |
| 45 | 46 |
| 46 #endif // CONTENT_RENDERER_JAVA_GIN_JAVA_BRIDGE_VALUE_CONVERTER_H_ | 47 #endif // CONTENT_RENDERER_JAVA_GIN_JAVA_BRIDGE_VALUE_CONVERTER_H_ |
| OLD | NEW |