| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_COMMON_SERIALIZED_SCRIPT_VALUE_H_ | 5 #ifndef CONTENT_COMMON_SERIALIZED_SCRIPT_VALUE_H_ |
| 6 #define CHROME_COMMON_SERIALIZED_SCRIPT_VALUE_H_ | 6 #define CONTENT_COMMON_SERIALIZED_SCRIPT_VALUE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/string16.h" | 9 #include "base/string16.h" |
| 10 | 10 |
| 11 namespace WebKit { | 11 namespace WebKit { |
| 12 class WebSerializedScriptValue; | 12 class WebSerializedScriptValue; |
| 13 } | 13 } |
| 14 | 14 |
| 15 class SerializedScriptValue { | 15 class SerializedScriptValue { |
| 16 public: | 16 public: |
| (...skipping 14 matching lines...) Expand all Loading... |
| 31 const WebKit::WebSerializedScriptValue& value); | 31 const WebKit::WebSerializedScriptValue& value); |
| 32 | 32 |
| 33 operator WebKit::WebSerializedScriptValue() const; | 33 operator WebKit::WebSerializedScriptValue() const; |
| 34 | 34 |
| 35 private: | 35 private: |
| 36 bool is_null_; // Is this null? If so, none of the other properties are valid. | 36 bool is_null_; // Is this null? If so, none of the other properties are valid. |
| 37 bool is_invalid_; // Is data_ valid? | 37 bool is_invalid_; // Is data_ valid? |
| 38 string16 data_; // The wire string format of the serialized script value. | 38 string16 data_; // The wire string format of the serialized script value. |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 #endif // CHROME_COMMON_SERIALIZED_SCRIPT_VALUE_H_ | 41 #endif // CONTENT_COMMON_SERIALIZED_SCRIPT_VALUE_H_ |
| OLD | NEW |